diff options
author | Glenn Morris <rgm@gnu.org> | 2021-10-16 09:18:37 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2021-10-16 09:18:37 -0700 |
commit | 536968304bd2ab70819b2920fc015e4bf9330636 (patch) | |
tree | 9a3936312a2e00c0b15888a59a4273425dc2ba18 /lisp/emacs-lisp | |
parent | ffff168d5fb14fbfa74f7c04fab0235a14bb7e64 (diff) | |
parent | e8488808dfe1460ce07042a1a523097ab90cf079 (diff) | |
download | emacs-536968304bd2ab70819b2920fc015e4bf9330636.tar.gz emacs-536968304bd2ab70819b2920fc015e4bf9330636.tar.bz2 emacs-536968304bd2ab70819b2920fc015e4bf9330636.zip |
Merge from origin/emacs-28
e8488808df Avoid aborts when a thread is signaled while "waiting for ...
21397cce51 Improve documentation string for 'compilation-error-regexp...
2971a6890f * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix t...
e842d7f29a Fix removal of fringe indication of bookmarks
b5a0eda978 Prefer "graphical displays" to "X terminals" in documentation
4ad0fc0dd0 Precise documentation of file-notify-add-watch
f5b8df14c6 Fixes to account for windows' tab lines
ced72b6e4c * Fix `native-compile-target-directory' effectiveness on t...
502788bc3d Add missing single quotes in the Emacs manual
1af45ad04e ; * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix...
12654b7423 * lisp/menu-bar.el (yank-menu-length): Fix docstring (bug#...
# Conflicts:
# lisp/gnus/gnus-undo.el
# lisp/menu-bar.el
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 0052fd0f8db..0a105052570 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3781,15 +3781,18 @@ Return the trampoline if found or nil otherwise." for arg in lambda-list unless (memq arg '(&optional &rest)) collect arg))))) - ;; Use speed 0 to maximize compilation speed and not to - ;; optimize away funcall calls! + ;; Use speed 1 for compilation speed and not to optimize away + ;; funcall calls! (byte-optimize nil) (native-comp-speed 1) (lexical-binding t)) (comp--native-compile form nil (cl-loop - for dir in (comp-eln-load-path-eff) + for dir in (if native-compile-target-directory + (list (expand-file-name comp-native-version-dir + native-compile-target-directory)) + (comp-eln-load-path-eff)) for f = (expand-file-name (comp-trampoline-filename subr-name) dir) |