summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
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
commit5a161ab5ff3da83d3271d37c97b3a52e89d4e14b (patch)
tree6798ca6bf56711eabf78c8362dc1672fc9b77009 /lisp/emacs-lisp
parentd595eca0e75840538a490a58f1a3b0c0abdded7b (diff)
downloademacs-5a161ab5ff3da83d3271d37c97b3a52e89d4e14b.tar.gz
emacs-5a161ab5ff3da83d3271d37c97b3a52e89d4e14b.tar.bz2
emacs-5a161ab5ff3da83d3271d37c97b3a52e89d4e14b.zip
(update-file-autoloads): Don't barf if autoloads file
file is completely empty.
Diffstat (limited to 'lisp/emacs-lisp')
-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