mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 16:20:17 -08:00
Non-delayed warning for malformed function (bug#67483)
* 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.
This commit is contained in:
parent
ff3965795f
commit
14ecc377ab
1 changed files with 2 additions and 3 deletions
|
|
@ -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))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue