aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Voelker1998-04-17 05:23:53 +0000
committerGeoff Voelker1998-04-17 05:23:53 +0000
commitda418b28dccaaf30e938c5be3fb5e3bc8f592b5c (patch)
tree0503e816bc836bc871a4ff4cb4d447abe680ef72
parentc4185b2b8db3b3a33c65855df1c510aec7c6b247 (diff)
downloademacs-da418b28dccaaf30e938c5be3fb5e3bc8f592b5c.tar.gz
emacs-da418b28dccaaf30e938c5be3fb5e3bc8f592b5c.zip
(comint-filename-chars): Combine DOS and Windows strings.
-rw-r--r--lisp/comint.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 8e3a1bb2309..c6ba27ac6af 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1940,13 +1940,9 @@ This is used by comint's and shell's completion functions, and by shell's
1940directory tracking functions.") 1940directory tracking functions.")
1941 1941
1942(defvar comint-file-name-chars 1942(defvar comint-file-name-chars
1943 (cond 1943 (if (memq system-type '(ms-dos windows-nt))
1944 ((eq system-type 'ms-dos) 1944 "~/A-Za-z0-9_^$!#%&{}@`'.,:()-"
1945 "~/A-Za-z0-9_^$!#%&{}@`'.()-") 1945 "~/A-Za-z0-9+@:_.$#%,={}-")
1946 ((eq system-type 'windows-nt)
1947 "~/A-Za-z0-9_^$!#%&{}@`'.,:()-")
1948 (t
1949 "~/A-Za-z0-9+@:_.$#%,={}-"))
1950 "String of characters valid in a file name. 1946 "String of characters valid in a file name.
1951Note that all non-ASCII characters are considered valid in a file name 1947Note that all non-ASCII characters are considered valid in a file name
1952regardless of what this variable says. 1948regardless of what this variable says.