mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(elp-instrument-package): Don't instrument keymaps and autoloaded functions.
This commit is contained in:
parent
dd4d27ca9e
commit
6ccab458cc
@ -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…
Reference in New Issue
Block a user