From: Andrew Innes Date: Fri, 5 Mar 1999 16:15:58 +0000 (+0000) Subject: (convert-standard-filename): Convert directory X-Git-Tag: emacs-20.4~508 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd89ee952087ea86cec2900f76426960dcced747;p=emacs.git (convert-standard-filename): Convert directory separators to Windows format. --- 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." (while (string-match "[?*:<>|\"\000-\037]" name start) (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)) ;;; Fix interface to (X-specific) mouse.el