From: Lars Ingebrigtsen Date: Thu, 17 Sep 2020 16:09:01 +0000 (+0200) Subject: Fix up previous autoload-find-generated-file change X-Git-Tag: emacs-28.0.90~6031 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e031c5e7095789d18743c1a915d3b252434bbc4;p=emacs.git 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. --- 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