diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-11-02 09:17:50 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-11-02 09:17:50 +0000 |
commit | ae03e7cf52e245b66b8e04bd9601aa652c43cdf9 (patch) | |
tree | 6203746fe547223a57a2968283d5b152733f3928 /lisp/emacs-lisp | |
parent | 085db7de2dc9af0a5d88667aed435ad155ecfa70 (diff) | |
download | emacs-ae03e7cf52e245b66b8e04bd9601aa652c43cdf9.tar.gz emacs-ae03e7cf52e245b66b8e04bd9601aa652c43cdf9.tar.bz2 emacs-ae03e7cf52e245b66b8e04bd9601aa652c43cdf9.zip |
(ad-make-advised-definition): Use called-interactively-p.
Diffstat (limited to 'lisp/emacs-lisp')
-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." (not advised-interactive-form)) ;; Check whether we were called interactively ;; in order to do proper prompting: - `(if (interactive-p) + `(if (called-interactively-p) (call-interactively ',origname) ,(ad-make-mapped-call orig-arglist advised-arglist |