From: Roland McGrath Date: Sat, 3 Jul 1993 07:22:04 +0000 (+0000) Subject: (update-file-autoloads): Do nothing when there are no cookies. X-Git-Tag: emacs-19.34~11886 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4f70b769dccab81890ea584c24b93159ff7dbfa;p=emacs.git (update-file-autoloads): Do nothing when there are no cookies. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index b7f5dad4d3e..2b0b777adba 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -235,6 +235,7 @@ autoloads go somewhere else.") (widen) (goto-char (point-min)) (while (search-forward generate-autoload-section-header nil t) + (or done (setq done 'seen)) (let ((form (condition-case () (read (current-buffer)) (end-of-file nil))))