emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-program-exists vs executable-find


From: Bastien
Subject: Re: [O] org-program-exists vs executable-find
Date: Fri, 20 Apr 2012 13:22:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Hi Sébastien,

"Sebastien Vauban" <address@hidden> writes:

>> The name `org-program-exists' is actually misleading, it should be
>> `org-executable-call' instead, while still checking if the executable exists
>> before calling it.
>
> Nope, the name is not misleading. The documentation string is false -- what I
> hadn't noticed, btw.
>
> That function just checks if the executable can be found; it does _not_ call
> it afterward.

You're right, I just fixed the docstring.

> On Linux and Mac OS, it just calls "which + <program name>", no more...
> On Windows, it simply fails immediately (even if the program could be found).

If there is an equivalent of `which' on windows let me know, we can
generalize this function.

Thanks,

-- 
 Bastien



reply via email to

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