auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] minor releases


From: David Kastrup
Subject: Re: [AUCTeX] minor releases
Date: Mon, 19 Oct 2015 09:17:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> Mosè Giordano <address@hidden> writes:
>
>>> But we could test (executable-find "tex") top-level and message a big
>>> fat warning if that returns nil, and we might also test `system-type'
>>> to give a Mac-specific warning.
>>
>> Please find attached a patch.
>
> Yes, looks good.  I'd go with
>
> (when (and (member ..)
>            (not (executable-find ...)))
>    ...)
>
> to have one layer of indentation less but that's just cosmetic.

For yet another layer less, use

(and (member ...)
     (not (executable-find ...))
     (error ...))

Since "when" only has a single clause, the two would be equivalent even
if error did return.

-- 
David Kastrup



reply via email to

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