]> code.delx.au - gnu-emacs/commitdiff
(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:37:39 +0000 (19:37 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:37:39 +0000 (19:37 +0000)
lisp/comint.el

index bcf452230224585599354c6ea68c8d771c8a5647..0027db8b88ea2e1dd29cb304509827895f75219d 100644 (file)
@@ -1918,9 +1918,13 @@ This is used by comint's and shell's completion functions, and by shell's
 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.")