+2002-05-22 Markus Rost <rost@math.ohio-state.edu>
+
+ * files.el (file-newest-backup): Use file-name-sans-versions.
+
+ * diff.el (diff-latest-backup-file): Replace the main code by
+ a call of file-newest-backup.
+
2002-05-22 Mike Williams <mdub@bigfoot.com>
* textmodes/sgml-mode.el (sgml-guess-indent): Look further into
;; `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 (make-backup-file-name filename))
+ (let* ((filename (file-name-sans-versions
+ (make-backup-file-name filename)))
(file (file-name-nondirectory filename))
(dir (file-name-directory filename))
(comp (file-name-all-completions file dir))