1
0
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:
Richard M. Stallman 1996-03-22 14:18:20 +00:00
parent dd4d27ca9e
commit 6ccab458cc

View File

@ -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'.