From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: yonirabkin@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Wrapper for the GNU 'which' command Date: 13 Dec 2004 23:27:26 -0800 Organization: http://groups.google.com Message-ID: <1103009246.506155.287350@z14g2000cwz.googlegroups.com> References: <325umcF3e4r0cU1@individual.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1103009398 18236 80.91.229.6 (14 Dec 2004 07:29:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2004 07:29:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 14 08:29:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ce785-00076o-00 for ; Tue, 14 Dec 2004 08:29:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ce7ID-0005TJ-3O for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2004 02:40:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 192.116.201.126 Original-X-Trace: posting.google.com 1103009252 16634 127.0.0.1 (14 Dec 2004 07:27:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 14 Dec 2004 07:27:32 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=192.116.201.126; posting-account=lzYP9A0AAAAsE0daA5ZTWJjV4Yv9n7-E Original-Xref: shelby.stanford.edu gnu.emacs.help:127298 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22730 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22730 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. The > > function expects a name of a command as a string and returns true if > > 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'?