diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-09-23 09:50:01 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-09-24 09:57:17 +0200 |
commit | b94a0a931ee7963515c009e7e683e907897567bb (patch) | |
tree | da1bd432054edd3ad977bdeb9975981f33bba322 /lisp/emacs-lisp/comp.el | |
parent | 0cc1804d42e25e0213f8b3872cc6133c6480a5b0 (diff) | |
download | emacs-b94a0a931ee7963515c009e7e683e907897567bb.tar.gz emacs-b94a0a931ee7963515c009e7e683e907897567bb.tar.bz2 emacs-b94a0a931ee7963515c009e7e683e907897567bb.zip |
* lisp/emacs-lisp/comp.el (comp-never-optimize-functions): Clean-up.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index f6c6748b748..e33d58cb406 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -94,17 +94,11 @@ Skip if any is matching." :group 'comp) (defcustom comp-never-optimize-functions - '(;; 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 - ;; Make the Evil happy :/ - read-key-sequence select-window set-window-buffer split-window-internal - use-global-map use-local-map) - "Primitive functions for which we do not perform trampoline optimization. -This is especially useful for primitives known to be advised or -redefined when compilation is performed at `comp-speed' > 0." + '(;; The following two are mandatory for Emacs to be working + ;; correctly (see comment in `advice--add-function'). DO NOT + ;; REMOVE. + macroexpand rename-buffer) + "Primitive functions for which we do not perform trampoline optimization." :type 'list :group 'comp) |