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

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

Re: Emacs Schell Scripting


From: TomSW
Subject: Re: Emacs Schell Scripting
Date: Fri, 27 Mar 2009 01:35:38 -0700 (PDT)
User-agent: G2/1.0

> Get to the point!

He means, is there an existing way to access any command-line
arguments that haven't been processed by Emacs.
How about the variable "command-line-args-left"?

~$ cat example2.el
#!/usr/bin/emacs  --script

(message "ARGS: %s\n" command-line-args-left)

~$ ./example2.el foo bar baz
...
ARGS: (foo bar baz)


cheers,
Tom SW


reply via email to

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