aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-10 21:54:46 +0000
committerRichard M. Stallman1996-09-10 21:54:46 +0000
commit5a161ab5ff3da83d3271d37c97b3a52e89d4e14b (patch)
tree6798ca6bf56711eabf78c8362dc1672fc9b77009
parentd595eca0e75840538a490a58f1a3b0c0abdded7b (diff)
downloademacs-5a161ab5ff3da83d3271d37c97b3a52e89d4e14b.tar.gz
emacs-5a161ab5ff3da83d3271d37c97b3a52e89d4e14b.zip
(update-file-autoloads): Don't barf if autoloads file
file is completely empty.
-rw-r--r--lisp/emacs-lisp/autoload.el2
1 files changed, 1 insertions, 1 deletions
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."
337 (setq found 'new) 337 (setq found 'new)
338 ;; No later sections in the file. Put before the last page. 338 ;; No later sections in the file. Put before the last page.
339 (goto-char (point-max)) 339 (goto-char (point-max))
340 (search-backward "\f"))) 340 (search-backward "\f" nil t)))
341 (or (eq found 'up-to-date) 341 (or (eq found 'up-to-date)
342 (and (eq found 'new) 342 (and (eq found 'new)
343 ;; Check that FILE has any cookies before generating a 343 ;; Check that FILE has any cookies before generating a