diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/nadvice.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |