help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: quickly find all executables


From: Eric Marsden
Subject: Re: quickly find all executables
Date: Fri, 25 Jul 2003 11:33:26 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2

>>>>> "kc" == Kin Cho <kin@neoscale.com> writes:

  kc> What's the quickest way to locate all executables in the
  kc> exec-path?
  
  (remove-if-not 'file-executable-p
     (mapcan (lambda (dir) (directory-files dir t))
             (remove-if-not 'file-directory-p exec-path)))

-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>


reply via email to

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