summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/elp.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-09-12 01:40:11 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-09-12 01:40:11 +0000
commit30194d4d1b45fb4d096b5b98976bad4549127cc1 (patch)
treea4685d87ac4629993ff54b88dc38e2259923bda2 /lisp/emacs-lisp/elp.el
parent2fd0161b9d2873a61dc1313905a7ba4322e3f25c (diff)
downloademacs-30194d4d1b45fb4d096b5b98976bad4549127cc1.tar.gz
* emacs-lisp/elp.el (elp-not-profilable): Add more functions (Bug#4233).
Diffstat (limited to 'lisp/emacs-lisp/elp.el')
-rw-r--r--lisp/emacs-lisp/elp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index 756aa3c778b..5fede8243c0 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -210,7 +210,10 @@ This variable is set by the master function.")
;; (delq nil (mapcar (lambda (x) (and (symbolp x) (fboundp x) x))
;; (aref (symbol-function 'elp-wrapper) 2)))
;; to help me find this list.
- error call-interactively apply current-time)
+ error call-interactively apply current-time
+ ;; Andreas Politz reports problems profiling these (Bug#4233):
+ + byte-code-function-p functionp byte-code subrp
+ indirect-function fboundp)
"List of functions that cannot be profiled.
Those functions are used internally by the profiling code and profiling
them would thus lead to infinite recursion.")