(elp-instrument-function): Use called-interactively-p.

This commit is contained in:
Richard M. Stallman 2004-11-02 09:27:26 +00:00
parent da6e3103c4
commit ea346a5d91

View 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