diff options
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 7686722c5be..cfaac96bbb1 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -3106,7 +3106,7 @@ in any of these classes." | |||
| 3106 | (not advised-interactive-form)) | 3106 | (not advised-interactive-form)) |
| 3107 | ;; Check whether we were called interactively | 3107 | ;; Check whether we were called interactively |
| 3108 | ;; in order to do proper prompting: | 3108 | ;; in order to do proper prompting: |
| 3109 | `(if (interactive-p) | 3109 | `(if (called-interactively-p) |
| 3110 | (call-interactively ',origname) | 3110 | (call-interactively ',origname) |
| 3111 | ,(ad-make-mapped-call orig-arglist | 3111 | ,(ad-make-mapped-call orig-arglist |
| 3112 | advised-arglist | 3112 | advised-arglist |