[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 886ded1 1/2: * lisp/emacs-lisp/comp.el (comp-never-o
From: |
Andrea Corallo |
Subject: |
feature/native-comp 886ded1 1/2: * lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-p |
Date: |
Thu, 16 Apr 2020 12:48:21 -0400 (EDT) |
branch: feature/native-comp
commit 886ded1b70f24c52ee526f0c4a69ca06829fb2a3
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Add yes-or-no-p
---
lisp/emacs-lisp/comp.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 788ffb5..2cc7dfd 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."