[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no executable emacs binary in exec-directory
From: |
Stefan Monnier |
Subject: |
Re: no executable emacs binary in exec-directory |
Date: |
Sat, 29 Nov 2008 14:59:49 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> (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?
Stefan