mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(comint-filename-chars): Combine DOS and Windows strings.
This commit is contained in:
parent
c4185b2b8d
commit
da418b28dc
@ -1940,13 +1940,9 @@ This is used by comint's and shell's completion functions, and by shell's
|
|||||||
directory tracking functions.")
|
directory tracking functions.")
|
||||||
|
|
||||||
(defvar comint-file-name-chars
|
(defvar comint-file-name-chars
|
||||||
(cond
|
(if (memq system-type '(ms-dos windows-nt))
|
||||||
((eq system-type 'ms-dos)
|
"~/A-Za-z0-9_^$!#%&{}@`'.,:()-"
|
||||||
"~/A-Za-z0-9_^$!#%&{}@`'.()-")
|
"~/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.
|
"String of characters valid in a file name.
|
||||||
Note that all non-ASCII characters are considered valid in a file name
|
Note that all non-ASCII characters are considered valid in a file name
|
||||||
regardless of what this variable says.
|
regardless of what this variable says.
|
||||||
|
Loading…
Reference in New Issue
Block a user