Subject: 25.0.93; AUCTeX TeX-function-p
From: <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Tue, 16 Aug 2016 20:16:12 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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