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

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

bug#4399: 23.1; let a file know it was run with --script


From: Glenn Morris
Subject: bug#4399: 23.1; let a file know it was run with --script
Date: Thu, 10 Sep 2009 23:58:47 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Tom Tromey wrote:

> On occasion it would be convenient to have a .el file which could check
> whether it was invoked with --script.

You can check for a non-nil value of `noninteractive'. Or do you need
to distinguish --batch from --script for some reason?





reply via email to

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