summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-07-03 07:22:04 +0000
committerRoland McGrath <roland@gnu.org>1993-07-03 07:22:04 +0000
commitd4f70b769dccab81890ea584c24b93159ff7dbfa (patch)
tree05073c61fe30da35f74abdc7766d29679cec289a /lisp/emacs-lisp/autoload.el
parent164aeafee8a50f73873b1514b38dc2f26bdda550 (diff)
downloademacs-d4f70b769dccab81890ea584c24b93159ff7dbfa.tar.gz
(update-file-autoloads): Do nothing when there are no cookies.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r--lisp/emacs-lisp/autoload.el1
1 files changed, 1 insertions, 0 deletions
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))))