Commit 5a161ab5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

file is completely empty.
parent d595eca0
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment