Commit 6ccab458 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(elp-instrument-package): Don't instrument keymaps and autoloaded functions.

parent dd4d27ca
......@@ -300,9 +300,9 @@ For example, to instrument all ELP functions, do the following:
(lambda (sym)
(and (fboundp sym)
(not (eq (car-safe
(symbol-function sym))
(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'.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment