1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-30 10:41:23 -07:00
emacs/lisp/eshell
Jim Porter bc0426ce8e Don't add an extraneous slash in remote PATH list in Eshell
Previously, in a remote directory, '(eshell-get-path)' would return a
list of strings like "/ssh:localhost://usr/bin".  While that shouldn't
break most things, it's not strictly correct either.  See bug#65551.

* lisp/eshell/esh-util.el (eshell-get-path): Use 'concat' instead of
'file-name-concat'.

* test/lisp/eshell/esh-util-tests.el: Require 'tramp' and
'eshell-tests-helpers'.
(esh-util-test/path/get, eshell-util-test/path/get-remote): New tests.
2023-08-27 12:49:25 -07:00
..
em-alias.el
em-banner.el
em-basic.el
em-cmpl.el
em-dirs.el
em-elecslash.el
em-extpipe.el
em-glob.el
em-hist.el
em-ls.el
em-pred.el
em-prompt.el
em-rebind.el
em-script.el
em-smart.el
em-term.el
em-tramp.el
em-unix.el
em-xtra.el
esh-arg.el
esh-cmd.el
esh-ext.el
esh-io.el
esh-mode.el
esh-module.el
esh-opt.el
esh-proc.el
esh-util.el Don't add an extraneous slash in remote PATH list in Eshell 2023-08-27 12:49:25 -07:00
esh-var.el
eshell.el