diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-10-22 16:40:12 +0200 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-10-22 18:21:15 +0200 |
commit | 202adfcfcc2ed20fa91d8377107618c8113f7106 (patch) | |
tree | 3aab4d3f485f56eba015e48e2ae7cc846224c107 /lisp/emacs-lisp | |
parent | f58652a41978974855be0993d42ace225b64efed (diff) | |
download | emacs-202adfcfcc2ed20fa91d8377107618c8113f7106.tar.gz emacs-202adfcfcc2ed20fa91d8377107618c8113f7106.tar.bz2 emacs-202adfcfcc2ed20fa91d8377107618c8113f7106.zip |
* Rework 'comp-lookup-eln'
* lisp/emacs-lisp/comp.el (comp-lookup-eln): Rework to use
'comp-eln-load-path-eff'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index f72d23fee1a..fc87014202c 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3643,12 +3643,8 @@ the deferred compilation mechanism." Search happens in `native-comp-eln-load-path'." (cl-loop with eln-filename = (comp-el-to-eln-rel-filename filename) - for dir in native-comp-eln-load-path - for f = (expand-file-name eln-filename - (expand-file-name comp-native-version-dir - (expand-file-name - dir - invocation-directory))) + for dir in (comp-eln-load-path-eff) + for f = (expand-file-name eln-filename dir) when (file-exists-p f) do (cl-return f))) |