* Retrieving command line arguments to restart Emacs?
@ 2010-07-09 9:47 Elena
0 siblings, 0 replies; only message in thread
From: Elena @ 2010-07-09 9:47 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
is there a way to retrieve Emacs' command line arguments inside Emacs
itself? I'd like to restart Emacs exactly as it was started without
relying on external tweaks.
There are some `command-line-*' variables which list arguments,
however they get consumed during startup. My understanding is the
`command-line' function does that and, since it runs before any user
code, you can't backup the command line in your initialization file.
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-09 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09 9:47 Retrieving command line arguments to restart Emacs? Elena
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.