aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes1999-03-05 16:15:58 +0000
committerAndrew Innes1999-03-05 16:15:58 +0000
commitdd89ee952087ea86cec2900f76426960dcced747 (patch)
tree70428d2ca3ce219d73577acaf003ddcd1e2b9dd7
parent10cf099d6266875d24e233e5226cc7865bbe11b8 (diff)
downloademacs-dd89ee952087ea86cec2900f76426960dcced747.tar.gz
emacs-dd89ee952087ea86cec2900f76426960dcced747.zip
(convert-standard-filename): Convert directory
separators to Windows format.
-rw-r--r--lisp/w32-fns.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index a35e38fb50d..d573e6e88c0 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -233,6 +233,10 @@ with a definition that really does change some file names."
233 (while (string-match "[?*:<>|\"\000-\037]" name start) 233 (while (string-match "[?*:<>|\"\000-\037]" name start)
234 (aset name (match-beginning 0) ?!) 234 (aset name (match-beginning 0) ?!)
235 (setq start (match-end 0))) 235 (setq start (match-end 0)))
236 ;; convert directory separators to Windows format
237 (while (string-match "/" name start)
238 (aset name (match-beginning 0) ?\\)
239 (setq start (match-end 0)))
236 name)) 240 name))
237 241
238;;; Fix interface to (X-specific) mouse.el 242;;; Fix interface to (X-specific) mouse.el