changeset 40627:437141ea2a14

(file-newest-backup): Don't pass backup file name thru file-name-sans-versions, because it never has version numbers.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Nov 2001 20:44:11 +0000
parents 3a44ea41ebcb
children ae231ad6710d
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Nov 01 19:55:51 2001 +0000
+++ b/lisp/files.el	Thu Nov 01 20:44:11 2001 +0000
@@ -2866,8 +2866,7 @@
   ;; `make-backup-file-name' will get us the right directory for
   ;; ordinary or numeric backups.  It might create a directory for
   ;; backups as a side-effect, according to `backup-directory-alist'.
-  (let* ((filename (file-name-sans-versions
-		    (make-backup-file-name filename)))
+  (let* ((filename (make-backup-file-name filename))
 	 (file (file-name-nondirectory filename))
 	 (dir  (file-name-directory    filename))
 	 (comp (file-name-all-completions file dir))