(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)