summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-17 18:09:01 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-17 18:09:01 +0200
commit5e031c5e7095789d18743c1a915d3b252434bbc4 (patch)
treeaa1315484b67ccc6fe56f3b4bec12fee51ffe8d3 /lisp/emacs-lisp/autoload.el
parent64ba14f3661f163ebac431293c92e8b22bb31f9c (diff)
downloademacs-5e031c5e7095789d18743c1a915d3b252434bbc4.tar.gz
Fix up previous autoload-find-generated-file change
* lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Use the correct name for find-file-hook.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r--lisp/emacs-lisp/autoload.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 80ac90895af..0bcd7b7dcd0 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -258,7 +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)
+ (find-file-hook nil)
(delay-mode-hooks t)
(file (autoload-generated-file)))
;; We used to use `raw-text' to read this file, but this causes