changeset 52318:374d8606ca76

(file-newest-backup): Use `expand-file-name'.
author Glenn Morris <rgm@gnu.org>
date Sun, 24 Aug 2003 15:19:42 +0000
parents 049c50d8dbbe
children c701edc37ab5
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sun Aug 24 15:11:24 2003 +0000
+++ b/lisp/files.el	Sun Aug 24 15:19:42 2003 +0000
@@ -3343,7 +3343,7 @@
   ;; 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)))
+		    (make-backup-file-name (expand-file-name filename))))
 	 (file (file-name-nondirectory filename))
 	 (dir  (file-name-directory    filename))
 	 (comp (file-name-all-completions file dir))