emacs-devel
[Top][All Lists]
Advanced

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

Re: no executable emacs binary in exec-directory


From: Lennart Borgman
Subject: Re: no executable emacs binary in exec-directory
Date: Sat, 29 Nov 2008 14:41:13 +0100

On Sat, Nov 29, 2008 at 2:23 PM, Sven Joachim <address@hidden> wrote:
> On 2008-11-29 14:00 +0100, Lennart Borgman wrote:
>
>> I thought that the currently running emacs binary should be in
>> exec-directory. That does not seem to be the case always.
>
> Actually, on GNU/Linux this should never be the case.
>
>> How do you find it?
>
> It is in invocation-directory, and its name is invocation-name.

Thanks. Is this then the way to find the executable?

(defun ourcomments-find-emacs-executable ()
  (let ((exec-path (list invocation-directory)))
    (executable-find invocation-name)))




reply via email to

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