From 5e031c5e7095789d18743c1a915d3b252434bbc4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 17 Sep 2020 18:09:01 +0200 Subject: [PATCH] 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. --- lisp/emacs-lisp/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5