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

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

Re: Emacs variable holding emacs executable


From: N. Raghavendra
Subject: Re: Emacs variable holding emacs executable
Date: Mon, 29 Jul 2013 15:30:02 +0530
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (darwin)

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/




reply via email to

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