summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-05-22 17:09:23 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-05-22 17:09:23 -0700
commitaf3d522ffbf83826f80ab8f6d811e19e97c37384 (patch)
tree4f3d6047a2e0a30c8374f2da5e02858b0129edac /lisp/emacs-lisp/bytecomp.el
parent37910ab2514f67d12c5b20b63ec6333c02df43c1 (diff)
parent7400048f602459209e89da4680ed9cc351ace4ee (diff)
downloademacs-af3d522ffbf83826f80ab8f6d811e19e97c37384.tar.gz
emacs-af3d522ffbf83826f80ab8f6d811e19e97c37384.tar.bz2
emacs-af3d522ffbf83826f80ab8f6d811e19e97c37384.zip
Merge from trunk.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index e7f2115a848..49b39b6a1f9 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2892,8 +2892,8 @@ If FORM is a lambda or a macro, byte-compile it as a function."
That command is designed for interactive use only" fn))
(if (and (fboundp (car form))
(eq (car-safe (symbol-function (car form))) 'macro))
- (byte-compile-report-error
- (format "Forgot to expand macro %s" (car form))))
+ (byte-compile-log-warning
+ (format "Forgot to expand macro %s" (car form)) nil :error))
(if (and handler
;; Make sure that function exists. This is important
;; for CL compiler macros since the symbol may be