emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Findirect_function


From: Manuel Giraud
Subject: Re: [PATCH] Findirect_function
Date: Fri, 14 Jan 2022 14:03:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix)

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Jan 14 2022, Manuel Giraud wrote:
>
>> diff --git a/src/data.c b/src/data.c
>> index f287c38fcd..65babc49e9 100644
>> --- a/src/data.c
>> +++ b/src/data.c
>> @@ -2380,10 +2380,8 @@ DEFUN ("indirect-function", Findirect_function, 
>> Sindirect_function, 1, 2, 0,
>>    if (SYMBOLP (result) && !NILP (result)
>>        && (result = XSYMBOL (result)->u.s.function, SYMBOLP (result)))
>>      result = indirect_function (result);
>> -  if (!NILP (result))
>> -    return result;
>>  
>> -  return Qnil;
>> +  return result;
>>  }
>
> Looks like a leftover from commit 60f8214e97.

I see it is when Findirect_function could not signal an error
anymore. While here, could we remove the 'noerror' argument?
-- 
Manuel Giraud



reply via email to

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