]> git.eshelyaron.com Git - emacs.git/commitdiff
* shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 6 Nov 2010 12:08:58 +0000 (13:08 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 6 Nov 2010 12:08:58 +0000 (13:08 +0100)
lisp/ChangeLog
lisp/shell.el

index 4a2d3ceba17c06cd20818adc0239d55ccd1ebdde..f9280d5f0c6f048b3d488c043ec047c7a77dd7b0 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
+
+       * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
+
 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
 
        * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
index 6cb9a51110111c92cc6fb05e9b1e3f3f8f23fada..b7f62efdb8539b1f9cc8e539db1cd3080a5fda15 100644 (file)
@@ -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)))