[Top][All Lists]

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

executable-find vs. locate-library

From: Kevin Rodgers
Subject: executable-find vs. locate-library
Date: Wed, 26 Apr 2006 17:39:13 -0600
User-agent: Thunderbird (Windows/20060308)

I think it would be nice if executable-find could be called interactively with completion and display its result, just
like load-library:

   (list (completing-read "Find executable: "
                          (cons exec-path exec-suffixes))))
  (when (interactive-p)
    (if result
        (message "Executable is file %s" (abbreviate-file-name result))
      (message "No exectuable %s in search path" command)))

Kevin Rodgers

reply via email to

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