changeset 71674:c64592812a59

(byte-compile-form): The `byte-compile' property may contain an anonymous function rather than a symbol.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 07 Jul 2006 16:34:44 +0000
parents 1404a22bd1f5
children e5f36608288b
files lisp/ChangeLog lisp/emacs-lisp/bytecomp.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jul 07 16:16:18 2006 +0000
+++ b/lisp/ChangeLog	Fri Jul 07 16:34:44 2006 +0000
@@ -1,5 +1,8 @@
 2006-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* emacs-lisp/bytecomp.el (byte-compile-form): The `byte-compile'
+	property may contain an anonymous function rather than a symbol.
+
 	* pcvs-defs.el (cvs-temp-buffer-name): Fix non-hiddenness.
 
 	* progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
--- a/lisp/emacs-lisp/bytecomp.el	Fri Jul 07 16:16:18 2006 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Fri Jul 07 16:34:44 2006 +0000
@@ -2791,7 +2791,7 @@
                     ;; `cl-byte-compile-compiler-macro' but if CL isn't
                     ;; loaded, this function doesn't exist.
                     (or (not (memq handler '(cl-byte-compile-compiler-macro)))
-                        (fboundp handler))
+                        (functionp handler))
 		    (not (and (byte-compile-version-cond
                                byte-compile-compatibility)
                               (get (get fn 'byte-opcode) 'emacs19-opcode))))