]> git.eshelyaron.com Git - emacs.git/commitdiff
(generate-file-autoloads): Don't ignore the line
authorRichard M. Stallman <rms@gnu.org>
Thu, 10 Mar 1994 04:18:10 +0000 (04:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 10 Mar 1994 04:18:10 +0000 (04:18 +0000)
after the form marked by a ;;;###autoload\n.

lisp/emacs-lisp/autoload.el

index 22d06cc20f07b4bf3aca23894d3f7c578552ee98..b610444fd11c01181676f4b612294851e5bd91e3 100644 (file)
@@ -158,7 +158,7 @@ are used."
                    (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)))