changeset 19678:aee700a39aea

(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 02 Sep 1997 19:37:39 +0000
parents b0f1b44e7a13
children 77c1c650932b
files lisp/comint.el
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Tue Sep 02 19:37:13 1997 +0000
+++ b/lisp/comint.el	Tue Sep 02 19:37:39 1997 +0000
@@ -1918,9 +1918,13 @@
 directory tracking functions.")
 
 (defvar comint-file-name-chars
-  (if (memq system-type '(ms-dos windows-nt))
-      "~/A-Za-z0-9_^$!#%&{}@`'.()-"
-    "~/A-Za-z0-9+@:_.$#%,={}-")
+  (cond
+   ((eq system-type 'ms-dos)
+    "~/A-Za-z0-9_^$!#%&{}@`'.()-")
+   ((eq system-type 'windows-nt)
+    "~/A-Za-z0-9_^$!#%&{}@`'.,:()-")
+   (t   
+    "~/A-Za-z0-9+@:_.$#%,={}-"))
   "String of characters valid in a file name.
 
 This is a good thing to set in mode hooks.")