Variable: shell-dumb-shell-regexp
shell-dumb-shell-regexp is a customizable variable defined in
shell.el.gz.
Value
"cmd\\(proxy\\)?\\.exe"
Documentation
Regexp to match shells that don't save their command history, and don't handle the backslash as a quote character. For shells that match this regexp, Emacs will write out the command history when the shell finishes, and won't remove backslashes when it unquotes shell arguments.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
;;;###autoload
(defcustom shell-dumb-shell-regexp "cmd\\(proxy\\)?\\.exe"
"Regexp to match shells that don't save their command history, and
don't handle the backslash as a quote character. For shells that
match this regexp, Emacs will write out the command history when the
shell finishes, and won't remove backslashes when it unquotes shell
arguments."
:type 'regexp
:group 'shell)