diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-02 11:51:09 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-02 11:51:09 +0200 |
commit | c7b7c9d40f9b8f73792cf434ee3b2fdfe62af3cc (patch) | |
tree | 55357ac325c2f18f710d8974834d13d218ef431c /src/lread.c | |
parent | a947c10d9093b9f3a29b60a52bda8afa43b6fd29 (diff) | |
download | emacs-c7b7c9d40f9b8f73792cf434ee3b2fdfe62af3cc.tar.gz |
Reinstate the Qload file name handler
* src/lread.c (Fload): Reinstate the Qload file name handler
(bug#12598). This makes loading non-ASCII elc.gz files work.
Diffstat (limited to 'src/lread.c')
-rw-r--r-- | src/lread.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lread.c b/src/lread.c index a1045184d9b..158ac360423 100644 --- a/src/lread.c +++ b/src/lread.c @@ -1244,10 +1244,9 @@ Return t if the file exists and loads successfully. */) CHECK_STRING (file); /* If file name is magic, call the handler. */ - /* This shouldn't be necessary any more now that `openp' handles it right. - handler = Ffind_file_name_handler (file, Qload); - if (!NILP (handler)) - return call5 (handler, Qload, file, noerror, nomessage, nosuffix); */ + handler = Ffind_file_name_handler (file, Qload); + if (!NILP (handler)) + return call5 (handler, Qload, file, noerror, nomessage, nosuffix); /* The presence of this call is the result of a historical accident: it used to be in every file-operation and when it got removed |