Stop cl-lib loading pcase at runtime
The cause was an unexpanded pcase-defmacro in cl-loaddefs. * lisp/emacs-lisp/autoload.el (make-autoload): Treat pcase-defmacro like defmacro.
This commit is contained in:
parent
3533623c4a
commit
41a5b76f79
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ expression, in which case we want to handle forms differently."
|
|||
((and (memq car '(easy-mmode-define-global-mode define-global-minor-mode
|
||||
define-globalized-minor-mode defun defmacro
|
||||
easy-mmode-define-minor-mode define-minor-mode
|
||||
define-inline cl-defun cl-defmacro cl-defgeneric))
|
||||
define-inline cl-defun cl-defmacro cl-defgeneric
|
||||
pcase-defmacro))
|
||||
(macrop car)
|
||||
(setq expand (let ((load-file-name file)) (macroexpand form)))
|
||||
(memq (car expand) '(progn prog1 defalias)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue