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: Lars Ingebrigtsen
Subject: Re: master 28358db930 1/2: Fix loaddefs generation
Date: Wed, 01 Jun 2022 12:43:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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



reply via email to

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