changeset 16158:af6ef293cb42

(update-file-autoloads): Don't barf if autoloads file file is completely empty.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 21:54:46 +0000
parents 1713fe640e41
children d4b674c08fe1
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Tue Sep 10 20:02:42 1996 +0000
+++ b/lisp/emacs-lisp/autoload.el	Tue Sep 10 21:54:46 1996 +0000
@@ -337,7 +337,7 @@
 		(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