emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 45ebf3a 1/2: Fix Bug#29149 in shell.el


From: Michael Albinus
Subject: [Emacs-diffs] master 45ebf3a 1/2: Fix Bug#29149 in shell.el
Date: Sat, 13 Jan 2018 11:52:16 -0500 (EST)

branch: master
commit 45ebf3afc64761af2dfd8712451e893d4c2ddbcc
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix Bug#29149 in shell.el
    
    * lisp/shell.el (shell): Change order of `file-local-name' and
    `expand-file-name' calls.  Otherwise, the local file name
    would be extended by a drive letter, even when it is a remote
    file, seen from w32.  (Bug#29149)
---
 lisp/shell.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/shell.el b/lisp/shell.el
index f046d78..5c228a5 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -727,8 +727,8 @@ Otherwise, one argument `-i' is passed to the shell.
                (null explicit-shell-file-name)
                (null (getenv "ESHELL")))
           (set (make-local-variable 'explicit-shell-file-name)
-               (expand-file-name
-                (file-local-name
+               (file-local-name
+               (expand-file-name
                  (read-file-name
                   "Remote shell path: " default-directory shell-file-name
                   t shell-file-name)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]