Mercurial > emacs
diff lisp/files.el @ 6309:9217f29851c2
Don't use triple-hyphen in a character class.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 12 Mar 1994 00:23:12 +0000 |
parents | 6044f2615082 |
children | 62886e6eefe6 |
line wrap: on
line diff
--- a/lisp/files.el Fri Mar 11 23:38:27 1994 +0000 +++ b/lisp/files.el Sat Mar 12 00:23:12 1994 +0000 @@ -1330,8 +1330,8 @@ ;; sign, zero or more digits, provided this is the ;; second period encountered outside of the ;; device/directory part of the file name. - (or (string-match ";[---+]?[0-9]*\\'" name) - (if (string-match "\\.[^]>:]*\\(\\.[---+]?[0-9]*\\)\\'" + (or (string-match ";[-+]?[0-9]*\\'" name) + (if (string-match "\\.[^]>:]*\\(\\.[-+]?[0-9]*\\)\\'" name) (match-beginning 1)) (length name))