diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2010-11-06 13:08:58 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2010-11-06 13:08:58 +0100 |
commit | 96e994bfcff05667eed194dd65b51813e5d906e4 (patch) | |
tree | 5ac057a72b33e5a9f49dc4ab243a221bacc4e696 /lisp/shell.el | |
parent | 6841e57e00e6897a3d181c82cdeb83d58ba9a502 (diff) | |
download | emacs-96e994bfcff05667eed194dd65b51813e5d906e4.tar.gz |
* shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 6cb9a511101..b7f62efdb85 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -700,7 +700,7 @@ Environment variables are expanded, see function `substitute-in-file-name'." (defun shell-process-popd (arg) (let ((num (or (shell-extract-num arg) 0))) (cond ((and num (= num 0) shell-dirstack) - (shell-cd (car shell-dirstack)) + (shell-cd (shell-prefixed-directory-name (car shell-dirstack))) (setq shell-dirstack (cdr shell-dirstack)) (shell-dirstack-message)) ((and num (> num 0) (<= num (length shell-dirstack))) |