]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-p
authorAndrea Corallo <akrl@sdf.org>
Thu, 16 Apr 2020 17:59:40 +0000 (18:59 +0100)
committerAndrea Corallo <akrl@sdf.org>
Thu, 16 Apr 2020 17:59:40 +0000 (18:59 +0100)
lisp/emacs-lisp/comp.el

index 788ffb5b776f127bb3ca52e2008eeab3bf879f79..2cc7dfd17f7cad3f42937ce9802cf100c30efa68 100644 (file)
@@ -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."