aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorMichael Albinus2018-09-06 12:16:00 +0200
committerMichael Albinus2018-09-06 12:16:00 +0200
commitbca35315e16cb53415649e5c0ac2ec0cc1368679 (patch)
tree1f14f3e4598f6ea3db33356c064488057e7573f0 /lisp/eshell
parent79d7138c187a5a950e4d226de333db6404700332 (diff)
downloademacs-bca35315e16cb53415649e5c0ac2ec0cc1368679.tar.gz
emacs-bca35315e16cb53415649e5c0ac2ec0cc1368679.zip
Fix Bug#31704
* lisp/eshell/esh-proc.el (eshell-gather-process-output): Do not let `expand-file-name' prefix remote file names with MS Windows volume letter. * lisp/net/tramp.el (tramp-eshell-directory-change): Use `path-separator' as it does eshell. (Bug#31704)
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-proc.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el
index a7855d81db5..3735f30c304 100644
--- a/lisp/eshell/esh-proc.el
+++ b/lisp/eshell/esh-proc.el
@@ -282,11 +282,10 @@ See `eshell-needs-pipe'."
282 (let ((process-connection-type 282 (let ((process-connection-type
283 (unless (eshell-needs-pipe-p command) 283 (unless (eshell-needs-pipe-p command)
284 process-connection-type)) 284 process-connection-type))
285 (command (file-local-name command))) 285 ;; `start-process' can't deal with relative filenames.
286 (command (file-local-name (expand-file-name command))))
286 (apply 'start-file-process 287 (apply 'start-file-process
287 (file-name-nondirectory command) nil 288 (file-name-nondirectory command) nil command args)))
288 ;; `start-process' can't deal with relative filenames.
289 (append (list (expand-file-name command)) args))))
290 (eshell-record-process-object proc) 289 (eshell-record-process-object proc)
291 (set-process-buffer proc (current-buffer)) 290 (set-process-buffer proc (current-buffer))
292 (if (eshell-interactive-output-p) 291 (if (eshell-interactive-output-p)