diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-17 18:02:44 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-17 18:02:44 +0200 |
commit | 64ba14f3661f163ebac431293c92e8b22bb31f9c (patch) | |
tree | 850b30512857b4cb64d35bf02ca57affccde2681 /lisp/emacs-lisp/autoload.el | |
parent | f7e68759d033e2a503f47cd7d97b760bd92e375f (diff) | |
download | emacs-64ba14f3661f163ebac431293c92e8b22bb31f9c.tar.gz |
Make package install not bug out on weird stuff in find-file-hooks
* 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.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 2eef4512009..80ac90895af 100644 --- 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 |