]> git.eshelyaron.com Git - emacs.git/commitdiff
(update-file-autoloads): Don't barf if autoloads file
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 21:54:46 +0000 (21:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 21:54:46 +0000 (21:54 +0000)
file is completely empty.

lisp/emacs-lisp/autoload.el

index 4490cb7533db4742d03677d904720d28681ad334..4614a5c42cbf3a1f0213ec50e96dfbb7fa30eb7c 100644 (file)
@@ -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