Mercurial > emacs
diff lisp/files.el @ 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 | 1509bf9a54df |
children | cac484ad071c |
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))