diff options
| author | Geoff Voelker | 1997-09-02 19:37:39 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1997-09-02 19:37:39 +0000 |
| commit | adec06efe9722705f55898098caa3e2a87c536e7 (patch) | |
| tree | 8be1cf0bd87b9e34cc936a6663edf4baf27eec1c | |
| parent | 78557fbf67b8755e01157eea3cd7810a0d3c0028 (diff) | |
| download | emacs-adec06efe9722705f55898098caa3e2a87c536e7.tar.gz emacs-adec06efe9722705f55898098caa3e2a87c536e7.zip | |
(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
| -rw-r--r-- | lisp/comint.el | 10 |
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 | |||
| 1918 | directory tracking functions.") | 1918 | directory 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 | ||
| 1926 | This is a good thing to set in mode hooks.") | 1930 | This is a good thing to set in mode hooks.") |