From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: Po Lu <luangruo@yahoo.com>
Subject: Re: master 28358db930 1/2: Fix loaddefs generation
Date: Wed, 01 Jun 2022 12:43:32 +0200 [thread overview]
Message-ID: <875ylk3bqj.fsf@gnus.org> (raw)
In-Reply-To: <20220601102558.E4719C05808@vcs2.savannah.gnu.org> (Po Lu via Mailing list for Emacs changes's message of "Wed, 1 Jun 2022 06:25:58 -0400 (EDT)")
Po Lu via Mailing list for Emacs changes <emacs-diffs@gnu.org> writes:
> (delete-region (match-beginning 0)
> - (and (search-forward "\n\f\n;;;")
> + (and (search-forward "\n\f\n;;;" nil t)
> (match-beginning 0)))
That will make delete-region be called with a nil if the search-forward
fails. But it shouldn't fail -- if it fails, there loaddefs file is
corrupted.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next parent reply other threads:[~2022-06-01 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <165407915849.23252.1559301725793524980@vcs2.savannah.gnu.org>
[not found] ` <20220601102558.E4719C05808@vcs2.savannah.gnu.org>
2022-06-01 10:43 ` Lars Ingebrigtsen [this message]
2022-06-01 10:47 ` master 28358db930 1/2: Fix loaddefs generation Lars Ingebrigtsen
2022-06-01 10:50 ` Po Lu
2022-06-01 10:57 ` Lars Ingebrigtsen
2022-06-01 10:59 ` Po Lu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ylk3bqj.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.