[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24245: 25.0.93; AUCTeX TeX-function-p
From: |
4854nw+cqdha1cwehn9k |
Subject: |
bug#24245: 25.0.93; AUCTeX TeX-function-p |
Date: |
Tue, 16 Aug 2016 20:16:12 +0000 |
What is the actual purpose of the Lisp function `TeX-function-p' found
in AUCTeX ‘tex.el’?
(defun TeX-function-p (arg)
"Return non-nil if ARG is callable as a function."
(or (and (fboundp 'byte-code-function-p)
(byte-code-function-p arg))
(and (listp arg)
(eq (car arg) 'lambda))
(and (symbolp arg)
(fboundp arg))))
How this code is better of `functionp'?
If there is no actual design improvement of `TeX-function-p' over
`functionp', the latter is supposed to be faster as it is built-in.
A similar function, `message-functionp', in `message.el' has been
removed. See Debian Bug report log #223493.
- a.
In GNU Emacs 25.0.93.1 (x86_64-w64-mingw32)
of 2016-04-23 built on KAEL
Windowing system distributor 'Microsoft Corp.', version 10.0.14393
Configured using:
'configure --prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2
-fomit-frame-pointer -g0''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
----
Sent using GuerrillaMail.com
Block or report abuse:
https://www.guerrillamail.com/abuse/?a=Q1RzSAoOVvkQhQ%2B3414YfAGJQtiX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#24245: 25.0.93; AUCTeX TeX-function-p,
4854nw+cqdha1cwehn9k <=