Commit 5f47fb28 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(convert-standard-filename): Start replacing slashes

from the beginning of the file name, not from where the last
invalid character was.  From "Andrew Maguire (SWW)"
<Andrew.Maguire@Smallworld.co.uk>
parent b6072968
2001-05-08 Eli Zaretskii <eliz@is.elta.co.il>
* w32-fns.el (convert-standard-filename): Start replacing slashes
from the beginning of the file name, not from where the last
invalid character was. From "Andrew Maguire (SWW)"
<Andrew.Maguire@Smallworld.co.uk>
2001-05-07 MORIOKA Tomohiko <tomo@m17n.org>
 
The following changes are to provide infrastructure for handling
......
......@@ -266,11 +266,12 @@ with a definition that really does change some file names."
(setq start (match-end 0)))
;; convert directory separators to Windows format
;; (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))
(when (w32-shell-dos-semantics)
(setq start 0)
(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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment