summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/elp.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/elp.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/elp.el')
-rw-r--r--lisp/emacs-lisp/elp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index 5fede8243c0..1664a769835 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -269,7 +269,7 @@ FUNSYM must be a symbol of a defined function."
(setq newguts (append newguts `((elp-wrapper
(quote ,funsym)
,(when (commandp funsym)
- '(called-interactively-p))
+ '(called-interactively-p 'any))
args))))
;; to record profiling times, we set the symbol's function
;; definition so that it runs the elp-wrapper function with the