|
From: | Stephen J. Turnbull |
Subject: | RE: /srv/bzr/emacs/trunk r112347:*doc/lispintro/emacs-lisp-intro.texi (defcustom, defun, simplified-beginning-of-buffer, defvar, Building Robots, Review, save-excursion): `defun' and `defcustom' are now macros ratherthanspecial forms. (Bug#13853) |
Date: | Mon, 22 Apr 2013 10:21:16 +0900 |
Drew Adams writes: > > > By `functionp': > > > (defmacro foo (a) 42) > > > (functionp 'foo) => t > > > > Surely not! > > Ouch! mea culpa. > > I need to stop checking things with Emacs prior to Emacs 22. If it returns t in any Emacs in which macros are not funcall'able, functionp is buggy (unless the docstring was also changed, but that seems unlikely). A better test is whether `(funcall 'foo nil)' errors.
[Prev in Thread] | Current Thread | [Next in Thread] |