summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-03-12 23:51:22 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2022-03-12 23:51:22 -0500
commit20d9c4b59fe8f9cc94230292ceab9d4d2b74c696 (patch)
treee3fb2d70a4d586b26a7977a62fd00a5441ef79f9 /lisp/emacs-lisp/subr-x.el
parente7ab69e762c10073e6c52b69ff5e83ad2c638803 (diff)
downloademacs-20d9c4b59fe8f9cc94230292ceab9d4d2b74c696.tar.gz
emacs-20d9c4b59fe8f9cc94230292ceab9d4d2b74c696.tar.bz2
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 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions