Variable: comint-file-name-chars
comint-file-name-chars is a variable defined in comint.el.gz.
Value
"[]~/A-Za-z0-9+@:_.$#%,={}-"
Documentation
String of characters valid in a file name.
Note that all non-ASCII characters are considered valid in a file name regardless of what this variable says.
This is a good thing to set in mode hooks.
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defvar comint-file-name-chars
(if (memq system-type '(ms-dos windows-nt cygwin))
"~/A-Za-z0-9_^$!#%&{}@`'.,:()-"
"[]~/A-Za-z0-9+@:_.$#%,={}-")
"String of characters valid in a file name.
Note that all non-ASCII characters are considered valid in a file name
regardless of what this variable says.
This is a good thing to set in mode hooks.")