aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Voelker1997-09-02 19:37:39 +0000
committerGeoff Voelker1997-09-02 19:37:39 +0000
commitadec06efe9722705f55898098caa3e2a87c536e7 (patch)
tree8be1cf0bd87b9e34cc936a6663edf4baf27eec1c
parent78557fbf67b8755e01157eea3cd7810a0d3c0028 (diff)
downloademacs-adec06efe9722705f55898098caa3e2a87c536e7.tar.gz
emacs-adec06efe9722705f55898098caa3e2a87c536e7.zip
(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
-rw-r--r--lisp/comint.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index bcf45223022..0027db8b88e 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1918,9 +1918,13 @@ This is used by comint's and shell's completion functions, and by shell's
1918directory tracking functions.") 1918directory tracking functions.")
1919 1919
1920(defvar comint-file-name-chars 1920(defvar comint-file-name-chars
1921 (if (memq system-type '(ms-dos windows-nt)) 1921 (cond
1922 "~/A-Za-z0-9_^$!#%&{}@`'.()-" 1922 ((eq system-type 'ms-dos)
1923 "~/A-Za-z0-9+@:_.$#%,={}-") 1923 "~/A-Za-z0-9_^$!#%&{}@`'.()-")
1924 ((eq system-type 'windows-nt)
1925 "~/A-Za-z0-9_^$!#%&{}@`'.,:()-")
1926 (t
1927 "~/A-Za-z0-9+@:_.$#%,={}-"))
1924 "String of characters valid in a file name. 1928 "String of characters valid in a file name.
1925 1929
1926This is a good thing to set in mode hooks.") 1930This is a good thing to set in mode hooks.")