(elp-instrument-package): Don't instrument keymaps and autoloaded functions.
This commit is contained in:
parent
dd4d27ca9e
commit
6ccab458cc
1 changed files with 3 additions and 3 deletions
|
@ -300,9 +300,9 @@ For example, to instrument all ELP functions, do the following:
|
|||
(function
|
||||
(lambda (sym)
|
||||
(and (fboundp sym)
|
||||
(not (eq (car-safe
|
||||
(symbol-function sym))
|
||||
'macro)))))))))
|
||||
(not (memq (car-safe
|
||||
(symbol-function sym))
|
||||
'(macro keymap autoload))))))))))
|
||||
|
||||
(defun elp-restore-list (&optional list)
|
||||
"Restore the original definitions for all functions in `elp-function-list'.
|
||||
|
|
Loading…
Add table
Reference in a new issue