emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add support for C++ headers to `ffap'.


From: Andreas Schwab
Subject: Re: [PATCH] Add support for C++ headers to `ffap'.
Date: Fri, 20 Sep 2013 10:47:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Kalle Olavi Niemitalo <address@hidden> writes:

> Thien-Thi Nguyen <address@hidden> writes:
>
>> () Rüdiger Sonderfeld <address@hidden>
>> () Thu, 19 Sep 2013 23:51 +0200
>>
>>    + (when (= 0 (ignore-errors ...)))
>>
>> You can use ‘zerop’ here.
>
> If ignore-errors handles an error, it returns nil.  Don't both
> (= 0 nil) and (zerop nil) signal a wrong-type-argument error?
> I.e. should this instead be (ignore-errors (zerop ...))?

call-process can return a non-number as well.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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