summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 21:54:46 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 21:54:46 +0000
commit4afbb31602a4339abbf07e3b3bd7e839477ad95f (patch)
tree643a0d4fe18d5339cd3698403bc7669fdf094b67
parent64fa4901500eb4c0e2259ab5044006aa161a2b3b (diff)
downloademacs-4afbb31602a4339abbf07e3b3bd7e839477ad95f.tar.gz
(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."
(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