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: Sun, 30 Nov 2008 01:38:34 +0100

On Sat, Nov 29, 2008 at 8:59 PM, Stefan Monnier
<address@hidden> wrote:
>>> (defun ourcomments-find-emacs-executable ()
>>> (let ((exec-path (list invocation-directory)))
>>> (executable-find invocation-name)))
>
>> Hm, this looks better, but I wonder about the "1".
>
>> (defun ourcomments-find-emacs ()
>>   (locate-file invocation-name
>>                (list invocation-directory)
>>                exec-suffixes
>>                1 ;; Depreceated, but used in executable-find
>>                ))
>
> Why does it look better to you?

I feel that it more explicitly mentions in which directory the search
is made. But I might change my mind about that tomorrow ... ;-)




reply via email to

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