diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-08-27 12:49:25 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-08-27 12:49:25 -0700 |
commit | bc0426ce8ed7d58eb228ee1c78679db43d4a9cb0 (patch) | |
tree | 180701f44744e13056d44806288befc064371886 /lisp/org/oc-basic.el | |
parent | 34f7a47c9ce0581a89b30cc06243788b354f2e7a (diff) | |
download | emacs-bc0426ce8ed7d58eb228ee1c78679db43d4a9cb0.tar.gz emacs-bc0426ce8ed7d58eb228ee1c78679db43d4a9cb0.tar.bz2 emacs-bc0426ce8ed7d58eb228ee1c78679db43d4a9cb0.zip |
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.
Diffstat (limited to 'lisp/org/oc-basic.el')
0 files changed, 0 insertions, 0 deletions