projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff39657
)
Non-delayed warning for malformed function (bug#67483)
author
Mattias Engdegård
<mattiase@acm.org>
Wed, 20 Dec 2023 13:15:59 +0000
(14:15 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 21 Dec 2023 12:20:27 +0000
(13:20 +0100)
* lisp/emacs-lisp/cconv.el (cconv-convert): Use an immediate warning;
a delayed one made little sense as it's a matter of well-formedness.
lisp/emacs-lisp/cconv.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cconv.el
b/lisp/emacs-lisp/cconv.el
index e65c39e3998af218773824682b4cbffb49178fda..0879c2ee63c4212eb92b8515ec0e0ffbe6d0ae13 100644
(file)
--- a/
lisp/emacs-lisp/cconv.el
+++ b/
lisp/emacs-lisp/cconv.el
@@
-621,9
+621,8
@@
places where they originally did not directly appear."
`(,func . ,(mapcar (lambda (form)
(cconv-convert form env extend))
forms))
- (macroexp--warn-wrap form (format-message "Malformed function `%S'"
- (car form))
- nil nil)))
+ (byte-compile-warn-x form "Malformed function `%S'" func)
+ nil))
(_ (or (cdr (assq form env)) form))))