* Emacs variable holding emacs executable
@ 2013-07-29 8:59 João Távora
2013-07-29 10:00 ` N. Raghavendra
0 siblings, 1 reply; 3+ messages in thread
From: João Távora @ 2013-07-29 8:59 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
Is there a elisp variable that holds the actual executable called to
launch emacs? Something akin to argv[0] I guess.
I've tried all the "emacs-*" and also some M-x apropos "emacs" but
didn't find it.
Thanks!
J
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs variable holding emacs executable
2013-07-29 8:59 Emacs variable holding emacs executable João Távora
@ 2013-07-29 10:00 ` N. Raghavendra
2013-07-29 10:17 ` João Távora
0 siblings, 1 reply; 3+ messages in thread
From: N. Raghavendra @ 2013-07-29 10:00 UTC (permalink / raw)
To: help-gnu-emacs
At 2013-07-29T09:59:20+01:00, João Távora wrote:
> Is there a elisp variable that holds the actual executable called to
> launch emacs? Something akin to argv[0] I guess.
(car command-line-args)
could be what you're after.
> I've tried all the "emacs-*" and also some M-x apropos "emacs" but
> didn't find it.
M-x apropos "command-line"
Best regards,
Raghu.
--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs variable holding emacs executable
2013-07-29 10:00 ` N. Raghavendra
@ 2013-07-29 10:17 ` João Távora
0 siblings, 0 replies; 3+ messages in thread
From: João Távora @ 2013-07-29 10:17 UTC (permalink / raw)
To: N. Raghavendra; +Cc: help-gnu-emacs
"N. Raghavendra" <raghu@hri.res.in> writes:
>> launch emacs? Something akin to argv[0] I guess.
>
> (car command-line-args)
>
> could be what you're after.
Oh, nice! Thanks!
João
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-29 10:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 8:59 Emacs variable holding emacs executable João Távora
2013-07-29 10:00 ` N. Raghavendra
2013-07-29 10:17 ` João Távora
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.