Fix problem with popd for in remote shell buffers
* lisp/shell.el (shell-prefixed-directory-name): Use `file-local-name' for DIR. (Bug#53927)
This commit is contained in:
parent
38f6ea1df0
commit
5b7752a865
1 changed files with 1 additions and 1 deletions
|
@ -941,7 +941,7 @@ Environment variables are expanded, see function `substitute-in-file-name'."
|
|||
dir
|
||||
(if (file-name-absolute-p dir)
|
||||
;; The name is absolute, so prepend the prefix.
|
||||
(concat comint-file-name-prefix dir)
|
||||
(concat comint-file-name-prefix (file-local-name dir))
|
||||
;; For relative name we assume default-directory already has the prefix.
|
||||
(expand-file-name dir))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue