]> git.eshelyaron.com Git - emacs.git/commitdiff
(elp-instrument-function): Use called-interactively-p.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 Nov 2004 09:27:26 +0000 (09:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 Nov 2004 09:27:26 +0000 (09:27 +0000)
lisp/emacs-lisp/elp.el

index 17991067fab1024d7c658172646e371d65189ea9..d701db9e9b630f7553c90769d8ed6719a80ac49e 100644 (file)
@@ -257,7 +257,7 @@ FUNSYM must be a symbol of a defined function."
     (setq newguts (append newguts `((elp-wrapper
                                     (quote ,funsym)
                                     ,(when (commandp funsym)
-                                       '(interactive-p))
+                                       '(called-interactively-p))
                                     args))))
     ;; to record profiling times, we set the symbol's function
     ;; definition so that it runs the elp-wrapper function with the