mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(convert-standard-filename): Only convert directory
separators to backslash if the interactive shell is one of the standard Windows shells that has DOS semantics.
This commit is contained in:
parent
f8a1023408
commit
105adfb54f
1 changed files with 6 additions and 4 deletions
|
|
@ -254,10 +254,12 @@ with a definition that really does change some file names."
|
|||
(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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue