|
From: | Glenn Morris |
Subject: | bug#4399: 23.1; let a file know it was run with --script |
Date: | Fri, 18 Sep 2009 14:04:44 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Tom Tromey wrote: > My specific use was for tests: I want "emacs --script test.el" to run > the tests, but I want to be able to load the file just to get the defuns > without running the test suite. It sounds like noninteractive will work fine (you could perhaps check command-line-args if you want finer control)? Or use the traditional: emacs -batch -l ./test.el -f batch-run-tests
[Prev in Thread] | Current Thread | [Next in Thread] |