From: Lars Ingebrigtsen Date: Wed, 1 Jun 2022 12:14:02 +0000 (+0200) Subject: Revert "Fix loaddefs generation" X-Git-Tag: emacs-29.0.90~1910^2~295^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=45e65c7d92e195102a203cb738707d12581c3c2e;p=emacs.git Revert "Fix loaddefs generation" This reverts commit 28358db93007456a1e0a6d9118823d4ddea4ba39. This has been fixed in a different way. --- diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el index 63b3fd13d7f..d6504f798ac 100644 --- a/lisp/emacs-lisp/loaddefs-gen.el +++ b/lisp/emacs-lisp/loaddefs-gen.el @@ -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)