[Top][All Lists]

[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 <address@hidden> 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:>

reply via email to

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