From: Geoff Voelker Date: Tue, 2 Sep 1997 19:37:39 +0000 (+0000) Subject: (comint-file-name-chars): Use separate sets for ms-dos and windows-nt. X-Git-Tag: emacs-20.1~270 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=adec06efe9722705f55898098caa3e2a87c536e7;p=emacs.git (comint-file-name-chars): Use separate sets for ms-dos and windows-nt. --- diff --git a/lisp/comint.el b/lisp/comint.el index bcf45223022..0027db8b88e 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -1918,9 +1918,13 @@ This is used by comint's and shell's completion functions, and by shell's directory tracking functions.") (defvar comint-file-name-chars - (if (memq system-type '(ms-dos windows-nt)) - "~/A-Za-z0-9_^$!#%&{}@`'.()-" - "~/A-Za-z0-9+@:_.$#%,={}-") + (cond + ((eq system-type 'ms-dos) + "~/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. This is a good thing to set in mode hooks.")