[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9d47364634: * lisp/url/url-file.el (url-file): Don't bind `coding
From: |
Stefan Monnier |
Subject: |
master 9d47364634: * lisp/url/url-file.el (url-file): Don't bind `coding-system-for-read` |
Date: |
Sat, 8 Oct 2022 23:07:57 -0400 (EDT) |
branch: master
commit 9d47364634f96b2f2651a7f3942f8f87b920f02d
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/url/url-file.el (url-file): Don't bind `coding-system-for-read`
Binding it causes errors when some of the enclosed code ends up
loading a `.el` file, and it is unnecessary since the rest of
the code (in `url-file-asynch-callback`) is already careful to
use `insert-file-contents-literally`.
---
lisp/url/url-file.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/url/url-file.el b/lisp/url/url-file.el
index a72b2e67a6..6258e999c1 100644
--- a/lisp/url/url-file.el
+++ b/lisp/url/url-file.el
@@ -150,7 +150,6 @@ it up to them."
(uncompressed-filename nil)
(content-type nil)
(content-encoding nil)
- (coding-system-for-read 'binary)
(filename (url-file-build-filename url)))
(or filename (error "File does not exist: %s" (url-recreate-url url)))
;; Need to figure out the content-type from the real extension,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9d47364634: * lisp/url/url-file.el (url-file): Don't bind `coding-system-for-read`,
Stefan Monnier <=