From b93e14fa0fd5833adbdd88ec86fccc4b59172302 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= <stepnem@gmail.com> Date: Sun, 14 Aug 2022 10:23:29 +0200 Subject: [PATCH] ; advice--interactive-form: Fix a typo introduced in recent change * lisp/emacs-lisp/nadvice.el (advice--interactive-form): Fix a typo. --- lisp/emacs-lisp/nadvice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5