Commit adec06ef authored by Geoff Voelker's avatar Geoff Voelker
Browse files

(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.

parent 78557fbf
...@@ -1918,9 +1918,13 @@ This is used by comint's and shell's completion functions, and by shell's ...@@ -1918,9 +1918,13 @@ 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
(if (memq system-type '(ms-dos windows-nt)) (cond
"~/A-Za-z0-9_^$!#%&{}@`'.()-" ((eq system-type 'ms-dos)
"~/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.
This is a good thing to set in mode hooks.") This is a good thing to set in mode hooks.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment