# HG changeset patch # User Richard M. Stallman # Date 827504300 0 # Node ID 0a88c1cc98ec6da359c7d9b19c0ebc320333014c # Parent eb23eca2abf9e3b4a4c3a3711c56fbbdd217f63c (elp-instrument-package): Don't instrument keymaps and autoloaded functions. diff -r eb23eca2abf9 -r 0a88c1cc98ec lisp/emacs-lisp/elp.el --- 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'.