help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: in batch or during test


From: Phillip Lord
Subject: Re: in batch or during test
Date: Tue, 21 Apr 2015 15:39:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Rusi <rustompmody@gmail.com> writes:
>> This works well, but unfortunately effectively swallows the backtrace.
>> Particularly annoying when I am running automated tests. So, I want to
>> write a macro like `condition-case-unless-debug' but which is "unless
>> running in batch or running ert". But I don't know how to find out if I
>> am in batch or running ert!
>> 
>> Phil
>
> Maybe you want the variable 'noninteractive'?
> (info "(elisp)batch mode")


Perfect, yes! I apropos'ed for "batch", but couldn't find it.

Phil



reply via email to

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