From 8767d8666ac20b6b5db2400d66001539dd2bc9f2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 30 Oct 2001 00:23:32 +0000 Subject: [PATCH] (find-backup-file-name): Use make-backup-file-name. --- lisp/ChangeLog | 2 ++ lisp/files.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2