diff options
| author | Dan Nicolaescu | 2007-09-22 17:52:17 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-09-22 17:52:17 +0000 |
| commit | b368551b76e7e811a3cca2c8531efece04fbbd50 (patch) | |
| tree | b5648f39e9911b3c4ddcc771b433f46311ddafe8 | |
| parent | 5e8c0b8b36429c3163553af65db89eb2e5907d59 (diff) | |
| download | emacs-b368551b76e7e811a3cca2c8531efece04fbbd50.tar.gz emacs-b368551b76e7e811a3cca2c8531efece04fbbd50.zip | |
(file-name-sans-versions): Also allow `A-Z'.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a115c0291b8..1efc5a39934 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2007-09-22 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2007-09-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * files.el (file-name-sans-versions): Also allow `A-Z'. | ||
| 4 | |||
| 3 | * vc.el: Mention all supported VC backends. | 5 | * vc.el: Mention all supported VC backends. |
| 4 | 6 | ||
| 5 | 2007-09-22 Richard Stallman <rms@gnu.org> | 7 | 2007-09-22 Richard Stallman <rms@gnu.org> |
diff --git a/lisp/files.el b/lisp/files.el index bf7d34e2227..19762c18945 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -3188,7 +3188,7 @@ we do not remove backup version numbers, only true file version numbers." | |||
| 3188 | (length name)) | 3188 | (length name)) |
| 3189 | (if keep-backup-version | 3189 | (if keep-backup-version |
| 3190 | (length name) | 3190 | (length name) |
| 3191 | (or (string-match "\\.~[-0-9a-z._]+~\\'" name) | 3191 | (or (string-match "\\.~[-0-9a-zA-Z._]+~\\'" name) |
| 3192 | (string-match "~\\'" name) | 3192 | (string-match "~\\'" name) |
| 3193 | (length name)))))))) | 3193 | (length name)))))))) |
| 3194 | 3194 | ||