(elp-instrument-function): Use called-interactively-p.
This commit is contained in:
parent
da6e3103c4
commit
ea346a5d91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue