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: Tom Tromey
Subject: bug#4399: 23.1; let a file know it was run with --script
Date: Fri, 18 Sep 2009 12:56:59 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:

GM> It sounds like noninteractive will work fine (you could perhaps check
GM> command-line-args if you want finer control)? Or use the traditional:

I don't think that has the same effect if you load multiple such files.
I only want the "main" one to eval the code.

GM> emacs -batch -l ./test.el -f batch-run-tests

This won't work if you want to use #! to start a script.

I guess I can work around this by writing a new .el that just loads
things and evals something.

Tom





reply via email to

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