emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 28358db930 1/2: Fix loaddefs generation


From: Po Lu
Subject: Re: master 28358db930 1/2: Fix loaddefs generation
Date: Wed, 01 Jun 2022 18:50:55 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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.

The build kept failing with a `search-failed' error before this change.
I don't know that code very well, but allowing it to fail did fix the
bug.

I'm not sure how to fix that properly.  Would it suffice to simply not
call `delete-region' should the search fail?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]