From 5a161ab5ff3da83d3271d37c97b3a52e89d4e14b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 1996 21:54:46 +0000 Subject: [PATCH] (update-file-autoloads): Don't barf if autoloads file file is completely empty. --- 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 4490cb7533d..4614a5c42cb 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -337,7 +337,7 @@ Autoload section for %s is up to date." (setq found 'new) ;; No later sections in the file. Put before the last page. (goto-char (point-max)) - (search-backward "\f"))) + (search-backward "\f" nil t))) (or (eq found 'up-to-date) (and (eq found 'new) ;; Check that FILE has any cookies before generating a -- 2.39.2