summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-04-16 18:59:40 +0100
committerAndrea Corallo <akrl@sdf.org>2020-04-16 18:59:40 +0100
commit886ded1b70f24c52ee526f0c4a69ca06829fb2a3 (patch)
treea100cc9133a1839ec94f3ee13558cd803cb12d03 /lisp/emacs-lisp
parentc5ed3a72a8a70931ef9b0f9d69f73ff0fd40cadb (diff)
downloademacs-886ded1b70f24c52ee526f0c4a69ca06829fb2a3.tar.gz
emacs-886ded1b70f24c52ee526f0c4a69ca06829fb2a3.tar.bz2
emacs-886ded1b70f24c52ee526f0c4a69ca06829fb2a3.zip
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-p
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 788ffb5b776..2cc7dfd17f7 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -85,8 +85,11 @@ This intended for debugging the compiler itself.
:group 'comp)
(defcustom comp-never-optimize-functions
- '(macroexpand scroll-down scroll-up narrow-to-region widen rename-buffer
- make-indirect-buffer delete-file top-level abort-recursive-edit)
+ '(;; Mandatory for Emacs to be working correctly
+ macroexpand scroll-down scroll-up narrow-to-region widen rename-buffer
+ make-indirect-buffer delete-file top-level abort-recursive-edit
+ ;; For user convenience
+ yes-or-no-p)
"Primitive functions for which we do not perform trampoline optimization.
This is especially usefull for primitives known to be advised if bootstrap is
performed at `comp-speed' > 0."