Mercurial > emacs
comparison lisp/eshell/esh-ext.el @ 62915:b89e30bcd2bb
Changed all uses of `directory-sep-char' to ?/, and all uses of
`string-to-int' to `string-to-number'.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Tue, 31 May 2005 00:14:26 +0000 |
parents | a9bbdf07a7d6 |
children | 18a818a2ee7c 01137c1fdbe9 |
comparison
equal
deleted
inserted
replaced
62914:6c8a535adaf3 | 62915:b89e30bcd2bb |
---|---|
101 | 101 |
102 (defsubst eshell-invoke-batch-file (&rest args) | 102 (defsubst eshell-invoke-batch-file (&rest args) |
103 "Invoke a .BAT or .CMD file on DOS/Windows systems." | 103 "Invoke a .BAT or .CMD file on DOS/Windows systems." |
104 ;; since CMD.EXE can't handle forward slashes in the initial | 104 ;; since CMD.EXE can't handle forward slashes in the initial |
105 ;; argument... | 105 ;; argument... |
106 (setcar args (subst-char-in-string directory-sep-char ?\\ (car args))) | 106 (setcar args (subst-char-in-string ?/ ?\\ (car args))) |
107 (throw 'eshell-replace-command | 107 (throw 'eshell-replace-command |
108 (eshell-parse-command eshell-windows-shell-file (cons "/c" args)))) | 108 (eshell-parse-command eshell-windows-shell-file (cons "/c" args)))) |
109 | 109 |
110 (defcustom eshell-interpreter-alist | 110 (defcustom eshell-interpreter-alist |
111 (if (eshell-under-windows-p) | 111 (if (eshell-under-windows-p) |