[Top][All Lists]

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

Re: Wrapper for the GNU 'which' command

From: yonirabkin
Subject: Re: Wrapper for the GNU 'which' command
Date: 13 Dec 2004 23:27:26 -0800
User-agent: G2/0.2

Kevin Rodgers wrote:
> Yoni Rabkin Katzenell wrote:
>  > This is a wrapper around the GNU 'which' command that I have found
>  > very useful when writing Emacs Lisp code which calls processes.
>  > function expects a name of a command as a string and returns true
>  > that command exists.
> ,----[ C-h f executable-find RET ]
> | executable-find is a compiled Lisp function in `executable'.
> | (executable-find COMMAND)
> |
> | Search for COMMAND in exec-path and return the absolute file name.
> | Return nil if COMMAND is not found anywhere in `exec-path'.
> `----
> -- 
> Kevin Rodgers

When does emacs create `exec-path'?

reply via email to

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