[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b01d529e8d 3/4: * lisp/emacs-lisp/macroexp.el (macroexp--compiler
From: |
Stefan Monnier |
Subject: |
master b01d529e8d 3/4: * lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro): Soften message |
Date: |
Sat, 3 Sep 2022 11:28:48 -0400 (EDT) |
branch: master
commit b01d529e8de00b38a2a9e401254a34f018ee4004
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro): Soften message
Clarify that the error is "harmless".
---
lisp/emacs-lisp/macroexp.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index c3ba1b36d4..f4df40249d 100644
--- a/lisp/emacs-lisp/macroexp.el
+++ b/lisp/emacs-lisp/macroexp.el
@@ -110,7 +110,8 @@ each clause."
(let ((symbols-with-pos-enabled t))
(apply handler form (cdr form)))
(error
- (message "Compiler-macro error for %S: Handler: %S\n%S" (car form)
handler err)
+ (message "Warning: Optimization failure for %S: Handler: %S\n%S"
+ (car form) handler err)
form)))
(defun macroexp--funcall-if-compiled (_form)