From: Štěpán Němec Date: Sun, 14 Aug 2022 08:23:29 +0000 (+0200) Subject: ; advice--interactive-form: Fix a typo introduced in recent change X-Git-Tag: emacs-29.0.90~1447^2~177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b93e14fa0fd5833adbdd88ec86fccc4b59172302;p=emacs.git ; advice--interactive-form: Fix a typo introduced in recent change * lisp/emacs-lisp/nadvice.el (advice--interactive-form): Fix a typo. --- diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el index 86f26fc0d84..a9a20ab5abf 100644 --- a/lisp/emacs-lisp/nadvice.el +++ b/lisp/emacs-lisp/nadvice.el @@ -170,7 +170,7 @@ DOC is a string where \"FUNCTION\" and \"OLDFUN\" are expected.") (if (not (and (symbolp function) (autoloadp (indirect-function function)))) (interactive-form function) (when (commandp function) - `(interactive (advice--eval-interactive-spec + `(interactive (advice-eval-interactive-spec (cadr (interactive-form ',function))))))) (defun advice--make-interactive-form (iff ifm)