Commit 12f68d3f authored by Jason Rumney's avatar Jason Rumney
Browse files

(file-name-invalid-regexp): Fix octal/decimal confusion.

parent 20ca5ee4
2008-02-24 Jason Rumney <jasonr@gnu.org>
* files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
2008-02-23 Ulrich Mueller <ulm@gentoo.org> (tiny change)
 
* textmodes/bibtex.el (bibtex-convert-alien): Fix sit-for ags.
......@@ -217,12 +217,12 @@ have fast storage with limited space, such as a RAM disk."
(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-\037]\\|" ; control characters
"\\(/\\.\\.?[^/]\\)\\|" ; leading dots
"\\(/[^/.]+\\.[^/.]*\\.\\)")) ; more than a single dot
((memq system-type '(ms-dos windows-nt cygwin))
(concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive
"[|<>\"?*\000-\031]")) ; invalid characters
"[|<>\"?*\000-\037]")) ; invalid characters
(t "[\000]"))
"Regexp recognizing file names which aren't allowed by the filesystem.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment