summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/advice.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-10-02 00:02:02 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-10-02 00:02:02 +0000
commit12a3c28c787e23801f40ea557a5c00b538968a52 (patch)
treebab1efcce46945c99a9d4305a0ef06e85fc28a0f /lisp/emacs-lisp/advice.el
parent8d148b0dd164a0e53e21719d391005d9d68902c6 (diff)
downloademacs-12a3c28c787e23801f40ea557a5c00b538968a52.tar.gz
emacs-12a3c28c787e23801f40ea557a5c00b538968a52.tar.bz2
emacs-12a3c28c787e23801f40ea557a5c00b538968a52.zip
* image-mode.el (image-toggle-display):
* emacs-lisp/elp.el (elp-instrument-function): * emacs-lisp/advice.el (ad-make-advised-definition): * emacs-lisp/easy-mmode.el (define-minor-mode): * net/browse-url.el (browse-url-maybe-new-window): * progmodes/sh-script.el (sh-learn-buffer-indent): Pass new argument 'any to `called-interactively-p'.
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r--lisp/emacs-lisp/advice.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index 8342f14ec5b..8979f9dfa10 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -3087,7 +3087,7 @@ in any of these classes."
(not advised-interactive-form))
;; Check whether we were called interactively
;; in order to do proper prompting:
- `(if (called-interactively-p)
+ `(if (called-interactively-p 'any)
(call-interactively ',origname)
,(ad-make-mapped-call advised-arglist
orig-arglist