diff options
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index f6c0b5e9728..01705e3c57a 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1491,7 +1491,7 @@ we do not remove backup version numbers, only true file version numbers." (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)))))))) |
