macroexp--expand-all: Don't call function-get on non-symbols
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Don't call function-get on non-symbols (bug#77550).
This commit is contained in:
parent
5fc1bd879e
commit
c418e454b3
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
|
|||
(macroexp--unfold-lambda `(,fn ,eexp . ,eargs)))
|
||||
(_ `(,fn ,eexp . ,eargs)))))
|
||||
(`(funcall . ,_) form) ;bug#53227
|
||||
(`(,func . ,_)
|
||||
(`(,(and func (pred symbolp)) . ,_)
|
||||
(let ((handler (function-get func 'compiler-macro)))
|
||||
;; Macro expand compiler macros. This cannot be delayed to
|
||||
;; byte-optimize-form because the output of the compiler-macro can
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue