PATH- and completion-related fixes in Eshell on MS-Windows
commit3c3eb1d5f2f56bc8e49ae40881a543fbddf8f312
authorEli Zaretskii <eliz@gnu.org>
Wed, 29 Apr 2015 17:52:02 +0000 (29 20:52 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 29 Apr 2015 17:52:02 +0000 (29 20:52 +0300)
tree36d10723b0d144bfe61946733465a72090d59ae9
parent5e7ed98f7c6497b67376977fafdf2dd860537f14
PATH- and completion-related fixes in Eshell on MS-Windows

* lisp/eshell/esh-ext.el (eshell-search-path): When running on
MS-Windows, prepend "." to list of directories produced from PATH,
as Windows always implicitly searches the current directory first.
(eshell-force-execution): Make it have a non-nil default value on
MS-Windows and MS-DOS.
* lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
eshell-force-execution is non-nil, complete on readable files and
directories, not only executables.  When running on MS-Windows,
prepend "." to list of directories produced from PATH, as Windows
always implicitly searches the current directory first.
lisp/eshell/em-cmpl.el
lisp/eshell/esh-ext.el