Mercurial > emacs
changeset 23094:7099472e122b
(file-name-invalid-regexp): Fix regex for ms-dos without long file names.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 24 Aug 1998 10:21:51 +0000 |
parents | bea8f793853d |
children | 4e83e072cd97 |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Mon Aug 24 10:20:13 1998 +0000 +++ b/lisp/files.el Mon Aug 24 10:21:51 1998 +0000 @@ -174,7 +174,7 @@ (cond ((and (eq system-type 'ms-dos) (not (msdos-long-file-names))) (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive "[+, ;=|<>\"?*]\\|\\[\\|\\]\\|" ; invalid characters - "[\000-\031]|" ; control characters + "[\000-\031]\\|" ; control characters "\\(/\\.\\.?[^/]\\)\\|" ; leading dots "\\(/[^/.]+\\.[^/.]*\\.\\)")) ; more than a single dot ((memq system-type '(ms-dos windows-nt))