changeset 12591:7caa97ba6a7b

(file-name-sans-versions): Recognize version control version numbers.
author Richard M. Stallman <rms@gnu.org>
date Tue, 18 Jul 1995 20:57:57 +0000
parents a771c59393e7
children efb59db39da7
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Tue Jul 18 20:55:46 1995 +0000
+++ b/lisp/files.el	Tue Jul 18 20:57:57 1995 +0000
@@ -1491,7 +1491,7 @@
 			 (length name))
 		   (if keep-backup-version
 		       (length name)
-		     (or (string-match "\\.~[0-9]+~\\'" name)
+		     (or (string-match "\\.~[0-9.]+~\\'" name)
 			 (string-match "~\\'" name)
 			 (length name))))))))