diff options
| author | Stefan Monnier | 2022-03-12 23:51:22 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2022-03-12 23:51:22 -0500 |
| commit | 20d9c4b59fe8f9cc94230292ceab9d4d2b74c696 (patch) | |
| tree | e3fb2d70a4d586b26a7977a62fd00a5441ef79f9 /src/bytecode.c | |
| parent | e7ab69e762c10073e6c52b69ff5e83ad2c638803 (diff) | |
| download | emacs-20d9c4b59fe8f9cc94230292ceab9d4d2b74c696.tar.gz emacs-20d9c4b59fe8f9cc94230292ceab9d4d2b74c696.zip | |
Flocate_file_internal: Protect from `.eln` remapping
Don't use `openp`s functionality to remap `.elc` files to `.eln` files
since `locate-file` is not specific to ELisp files.
This should be not just simpler but more robust than the current
hack which tries to undo the damage after the fact.
* src/lread.c (Flocate_file_internal): Don't map `.elc` to `.eln`.
* lisp/files.el (locate-file): Simplify accordingly.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions