[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function `expand-command-name'
From: |
Eli Zaretskii |
Subject: |
Re: function `expand-command-name' |
Date: |
Sat, 10 Nov 2001 18:01:29 +0200 |
> From: sen_ml@eccosys.com
> Date: Sat, 10 Nov 2001 23:46:55 +0900 (JST)
>
> I was writing some code the other day and found it helpful to have a
> function to expand a command name to its full-path -- somewhat like
> `expand-file-name'. I didn't manage to locate a function that does
> this already so I wrote one. Is there already something like this?
Sounds like executable-find from lisp/progmodes/executable.el does
what you want (actually, a bit more, since it also knows about the
executable extensions like .exe on DOS/Windows).