From 45e65c7d92e195102a203cb738707d12581c3c2e Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 1 Jun 2022 14:14:02 +0200 Subject: [PATCH] Revert "Fix loaddefs generation" This reverts commit 28358db93007456a1e0a6d9118823d4ddea4ba39. This has been fixed in a different way. --- lisp/emacs-lisp/loaddefs-gen.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2