unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Robert Pluim <rpluim@gmail.com>
Cc: 63236@debbugs.gnu.org
Subject: bug#63236: 29.0.90; loaddefs-generate not 100% backwards compatible
Date: Wed, 03 May 2023 10:48:56 +0200	[thread overview]
Message-ID: <mvmednx4x6v.fsf@suse.de> (raw)
In-Reply-To: <871qjxlseb.fsf@gmail.com> (Robert Pluim's message of "Wed, 03 May 2023 10:40:28 +0200")

On Mai 03 2023, Robert Pluim wrote:

> diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el
> index a966b1e9f40..c25950a1afd 100644
> --- a/lisp/emacs-lisp/loaddefs-gen.el
> +++ b/lisp/emacs-lisp/loaddefs-gen.el
> @@ -637,7 +637,7 @@ loaddefs-generate
>                        (search-backward "\f\n" nil t))
>                    ;; Delete the old version of the section.
>                    (delete-region (match-beginning 0)
> -                                 (and (search-forward "\n\f\n;;;")
> +                                 (and (re-search-forward "\n\f\n;;;?")

This is equivalent to (search-forward "\n\f\n;;").

>                                        (match-beginning 0)))

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





  reply	other threads:[~2023-05-03  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 17:06 bug#63236: 29.0.90; loaddefs-generate not 100% backwards compatible Robert Pluim
2023-05-03  8:40 ` Robert Pluim
2023-05-03  8:48   ` Andreas Schwab [this message]
2023-05-03 11:21   ` Eli Zaretskii
2023-05-03 13:47     ` Robert Pluim
2023-05-03 15:02       ` Robert Pluim
2023-05-03 15:50       ` Eli Zaretskii
2023-05-04  8:45         ` Robert Pluim
2023-05-04 10:42           ` Eli Zaretskii
2023-05-04 14:04             ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvmednx4x6v.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=63236@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).