diff options
author | Andrea Corallo <akrl@sdf.org> | 2023-01-27 10:36:47 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2023-01-27 10:37:49 +0100 |
commit | 854a2901f7c895b59f005fd1042c6bb7b19ac19a (patch) | |
tree | 7202bf2f5d96b1373bb4c89f08f30cdfb6cf7676 /lisp/emacs-lisp | |
parent | d865e18096856af4014df69790120bf30dd17545 (diff) | |
download | emacs-854a2901f7c895b59f005fd1042c6bb7b19ac19a.tar.gz emacs-854a2901f7c895b59f005fd1042c6bb7b19ac19a.tar.bz2 emacs-854a2901f7c895b59f005fd1042c6bb7b19ac19a.zip |
* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Improve readability
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index acabc31fc33..4c423be06c4 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3805,22 +3805,22 @@ Return the trampoline if found or nil otherwise." form nil ;; If we've disabled nativecomp, don't write the trampolines to ;; the eln cache (but create them). - (and (not inhibit-automatic-native-compilation) - (cl-loop - 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) - unless (file-exists-p dir) - do (ignore-errors - (make-directory dir t) - (cl-return f)) - when (file-writable-p f) - do (cl-return f) - finally (error "Cannot find suitable directory for output in \ + (unless inhibit-automatic-native-compilation + (cl-loop + 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) + unless (file-exists-p dir) + do (ignore-errors + (make-directory dir t) + (cl-return f)) + when (file-writable-p f) + do (cl-return f) + finally (error "Cannot find suitable directory for output in \ `native-comp-eln-load-path'")))))) |