]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix loaddefs generation"
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Jun 2022 12:14:02 +0000 (14:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Jun 2022 12:14:02 +0000 (14:14 +0200)
This reverts commit 28358db93007456a1e0a6d9118823d4ddea4ba39.

This has been fixed in a different way.

lisp/emacs-lisp/loaddefs-gen.el

index 63b3fd13d7f4b34da033bdf4a9d88424b9e2061c..d6504f798ac5c86b6b4751a201b198c96a16519d 100644 (file)
@@ -575,7 +575,7 @@ If INCLUDE-PACKAGE-VERSION, include package version data."
                       (search-backward "\f\n"))
                   ;; Delete the old version of the section.
                   (delete-region (match-beginning 0)
-                                 (and (search-forward "\n\f\n;;;" nil t)
+                                 (and (search-forward "\n\f\n;;;")
                                       (match-beginning 0)))
                   (forward-line -2)))
               (insert head)