changeset 78876:6824f67c5a37

(file-name-sans-versions): Also allow `A-Z'.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 22 Sep 2007 17:52:17 +0000
parents 2568254b40a4
children 34c4022cc356
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Sep 22 17:17:22 2007 +0000
+++ b/lisp/ChangeLog	Sat Sep 22 17:52:17 2007 +0000
@@ -1,5 +1,7 @@
 2007-09-22  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* files.el (file-name-sans-versions): Also allow `A-Z'.
+
 	* vc.el: Mention all supported VC backends.
 
 2007-09-22  Richard Stallman  <rms@gnu.org>
--- a/lisp/files.el	Sat Sep 22 17:17:22 2007 +0000
+++ b/lisp/files.el	Sat Sep 22 17:52:17 2007 +0000
@@ -3188,7 +3188,7 @@
 			 (length name))
 		   (if keep-backup-version
 		       (length name)
-		     (or (string-match "\\.~[-0-9a-z._]+~\\'" name)
+		     (or (string-match "\\.~[-0-9a-zA-Z._]+~\\'" name)
 			 (string-match "~\\'" name)
 			 (length name))))))))