projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e6875
)
Make package install not bug out on weird stuff in find-file-hooks
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 17 Sep 2020 16:02:44 +0000
(18:02 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 17 Sep 2020 16:02:44 +0000
(18:02 +0200)
* lisp/emacs-lisp/autoload.el (autoload-find-generated-file):
Users may have read-only-mode in find-file-hooks (bug#43460) so
just disable all the hooks here.
lisp/emacs-lisp/autoload.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/autoload.el
b/lisp/emacs-lisp/autoload.el
index 2eef45120096b5005901277ef4bc5e3fb7fdb13c..80ac90895afa5508093a9beaac26f2f92ff49cab 100644
(file)
--- a/
lisp/emacs-lisp/autoload.el
+++ b/
lisp/emacs-lisp/autoload.el
@@
-258,6
+258,7
@@
expression, in which case we want to handle forms differently."
"Visit the autoload file for the current buffer, and return its buffer."
(let ((enable-local-variables :safe)
(enable-local-eval nil)
+ (find-file-hooks nil)
(delay-mode-hooks t)
(file (autoload-generated-file)))
;; We used to use `raw-text' to read this file, but this causes