mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
* lisp/emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
* lisp/emacs-lisp/nadvice.el (advice--make-interactive-form): Fix string-spec case.
This commit is contained in:
parent
a61428c42d
commit
47f01a8af9
3 changed files with 9 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ Each element has the form (WHERE BYTECODE STACK) where:
|
|||
;; FIXME: The calls to interactive-form below load autoloaded functions
|
||||
;; too eagerly.
|
||||
(let ((fspec (cadr (interactive-form function))))
|
||||
(when (eq 'function (car fspec)) ;; Macroexpanded lambda?
|
||||
(when (eq 'function (car-safe fspec)) ;; Macroexpanded lambda?
|
||||
(setq fspec (nth 1 fspec)))
|
||||
(if (functionp fspec)
|
||||
`(funcall ',fspec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue