From: Richard M. Stallman Date: Tue, 10 Sep 1996 21:54:46 +0000 (+0000) Subject: (update-file-autoloads): Don't barf if autoloads file X-Git-Tag: emacs-20.1~3786 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a161ab5ff3da83d3271d37c97b3a52e89d4e14b;p=emacs.git (update-file-autoloads): Don't barf if autoloads file file is completely empty. --- 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