emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/igc abefefd4f88: Add a staticpro in search.c (bug#75459)


From: Gerd Möllmann
Subject: Re: scratch/igc abefefd4f88: Add a staticpro in search.c (bug#75459)
Date: Fri, 10 Jan 2025 19:47:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Kangas <stefankangas@gmail.com> writes:

> Gerd Moellmann <gerd.moellmann@gmail.com> writes:
>
>> branch: scratch/igc
>> commit abefefd4f887c8b282da4a848367ab89fe17ce41
>> Author: Gerd Möllmann <gerd@gnu.org>
>> Commit: Gerd Möllmann <gerd@gnu.org>
>>
>>     Add a staticpro in search.c (bug#75459)
>>
>>     * src/search.c (syms_of_search): Staticpro a Lisp_Object member in
>>     searchbufs for HAVE_MPS.
>> ---
>>  src/search.c | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/src/search.c b/src/search.c
>> index 36a932b015b..98d11131e31 100644
>> --- a/src/search.c
>> +++ b/src/search.c
>> @@ -3446,6 +3446,11 @@ syms_of_search (void)
>>        staticpro (&searchbufs[i].regexp);
>>        staticpro (&searchbufs[i].f_whitespace_regexp);
>>        staticpro (&searchbufs[i].syntax_table);
>> +#ifdef HAVE_MPS
>> +      /* Strictly speaking, this is also necessary for the old GC,
>> +     unless one would prove it isn't.  Don't rock the boat.  */
>> +      staticpro (&searchbufs[i].buf.translate);
>> +#endif
>
> Is there any harm from doing this for the old GC also?

No :-)



reply via email to

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