changeset 6280:54968237a1ac

(generate-file-autoloads): Don't ignore the line after the form marked by a ;;;###autoload\n.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Mar 1994 04:18:10 +0000
parents 8ee9dcd3771e
children e98ae7dec34d
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Thu Mar 10 04:09:13 1994 +0000
+++ b/lisp/emacs-lisp/autoload.el	Thu Mar 10 04:18:10 1994 +0000
@@ -158,7 +158,7 @@
 		    (if (eolp)
 			;; Read the next form and make an autoload.
 			(let* ((form (prog1 (read (current-buffer))
-				       (forward-line 1)))
+				       (or (bolp) (forward-line 1))))
 			       (autoload (make-autoload form load-name))
 			       (doc-string-elt (get (car-safe form)
 						    'doc-string-elt)))