(update-file-autoloads): Don't barf if autoloads file

file is completely empty.
This commit is contained in:
Richard M. Stallman 1996-09-10 21:54:46 +00:00
parent d595eca0e7
commit 5a161ab5ff

View file

@ -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