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

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

Re: Determine if emacs or emacsclient was run with filename(s) as comman


From: Bernardo
Subject: Re: Determine if emacs or emacsclient was run with filename(s) as commandline argument.
Date: Sun, 12 May 2013 17:26:32 +1000
User-agent: Thunderbird 2.0.0.24 (X11/20100228)

Is there a way to know if emacs was run with filename argument?

command-line-args?

,----
| command-line-args is a variable defined in `C source code'.
| Its value is ("~/EmacsTrunk/src/emacs")
|
| Documentation:
| Args passed by shell to Emacs, as a list of strings.
| Many arguments are deleted from the list as they are processed.
`----





reply via email to

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