changeset 14858:0a88c1cc98ec

(elp-instrument-package): Don't instrument keymaps and autoloaded functions.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Mar 1996 14:18:20 +0000
parents eb23eca2abf9
children efa1bc6b7b17
files lisp/emacs-lisp/elp.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/elp.el	Fri Mar 22 14:13:07 1996 +0000
+++ b/lisp/emacs-lisp/elp.el	Fri Mar 22 14:18:20 1996 +0000
@@ -300,9 +300,9 @@
 				    (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'.