changeset 3965:b292a011b5f4

(update-file-autoloads): Do nothing when there are no cookies.
author Roland McGrath <roland@gnu.org>
date Sat, 03 Jul 1993 07:22:04 +0000
parents c4696ff3b067
children dcf86f82f2c8
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Sat Jul 03 07:19:24 1993 +0000
+++ b/lisp/emacs-lisp/autoload.el	Sat Jul 03 07:22:04 1993 +0000
@@ -235,6 +235,7 @@
 	  (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))))