diff options
| author | Geoff Voelker | 1998-04-17 05:23:53 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-04-17 05:23:53 +0000 |
| commit | da418b28dccaaf30e938c5be3fb5e3bc8f592b5c (patch) | |
| tree | 0503e816bc836bc871a4ff4cb4d447abe680ef72 | |
| parent | c4185b2b8db3b3a33c65855df1c510aec7c6b247 (diff) | |
| download | emacs-da418b28dccaaf30e938c5be3fb5e3bc8f592b5c.tar.gz emacs-da418b28dccaaf30e938c5be3fb5e3bc8f592b5c.zip | |
(comint-filename-chars): Combine DOS and Windows strings.
| -rw-r--r-- | lisp/comint.el | 10 |
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 | |||
| 1940 | directory tracking functions.") | 1940 | directory 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. |
| 1951 | Note that all non-ASCII characters are considered valid in a file name | 1947 | Note that all non-ASCII characters are considered valid in a file name |
| 1952 | regardless of what this variable says. | 1948 | regardless of what this variable says. |