(update-file-autoloads): Don't barf if autoloads file
file is completely empty.
This commit is contained in:
parent
d595eca0e7
commit
5a161ab5ff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue