From: Richard M. Stallman Date: Tue, 30 Oct 2001 00:23:32 +0000 (+0000) Subject: (find-backup-file-name): Use make-backup-file-name. X-Git-Tag: ttn-vms-21-2-B4~19035 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8767d8666ac20b6b5db2400d66001539dd2bc9f2;p=emacs.git (find-backup-file-name): Use make-backup-file-name. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01a7b852032..d96530b3c61 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2001-10-29 Richard M. Stallman + * files.el (find-backup-file-name): Use make-backup-file-name. + * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to window-live-p. (edebug-set-conditional-breakpoint): Unconditionally use diff --git a/lisp/files.el b/lisp/files.el index 19ae4625625..167514efcf0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2439,7 +2439,7 @@ Uses `backup-directory-alist' in the same way as does -1)) (file-error (setq possibilities nil))) (if (not deserve-versions-p) - (list (concat basic-name "~")) + (list (make-backup-file-name fn)) (cons (format "%s.~%d~" basic-name (1+ high-water-mark)) (if (and (> number-to-delete 0) ;; Delete nothing if there is overflow