unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'"
@ 2014-06-03  9:16 Ulrich Mueller
  2014-06-03  9:37 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2014-06-03  9:16 UTC (permalink / raw)
  To: 17674

$ emacs --batch -batch; echo $?
Unknown option `-batch'
255
$ emacs -batch --batch; echo $?
Unknown option `--batch'
255
$ emacs --batch --batch; echo $?
0
$ emacs -batch -batch; echo $?
0

Same problem for --no-window-system -no-window-system. It doesn't
occur for all options though, e.g. --no-init-file -no-init-file
doesn't cause an error.

This is an issue mainly when calling Emacs from a Makefile, where
options from several variables (like AM_ELCFLAGS and ELCFLAGS) can be
accumulated.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-03  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03  9:16 bug#17674: 24.3; "emacs --batch -batch" fails with "Unknown option `-batch'" Ulrich Mueller
2014-06-03  9:37 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).