# HG changeset patch # User Andrew Innes # Date 925638317 0 # Node ID a969304198eb67fab79a9169a69f0bfc1a384ac9 # Parent 809c3c8f6b773e0ad3b806115520f3d3180565d5 (convert-standard-filename): Only convert directory separators to backslash if the interactive shell is one of the standard Windows shells that has DOS semantics. diff -r 809c3c8f6b77 -r a969304198eb lisp/w32-fns.el --- a/lisp/w32-fns.el Sun May 02 09:40:45 1999 +0000 +++ b/lisp/w32-fns.el Sun May 02 09:45:17 1999 +0000 @@ -254,10 +254,12 @@ (aset name (match-beginning 0) ?!) (setq start (match-end 0))) ;; convert directory separators to Windows format - (while (string-match "/" name start) - (aset name (match-beginning 0) ?\\) - (setq start (match-end 0))) - name)) + ;; (but only if the shell in use requires it) + (if (w32-shell-dos-semantics) + (while (string-match "/" name start) + (aset name (match-beginning 0) ?\\) + (setq start (match-end 0)))) + name)) ;;; Fix interface to (X-specific) mouse.el (defun x-set-selection (type data)