]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-backup-file-name): Use make-backup-file-name.
authorRichard M. Stallman <rms@gnu.org>
Tue, 30 Oct 2001 00:23:32 +0000 (00:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 30 Oct 2001 00:23:32 +0000 (00:23 +0000)
lisp/ChangeLog
lisp/files.el

index 01a7b852032a560c640c81da64346c42e106a4ef..d96530b3c61b5be4718d1170cef33bd9af2067a2 100644 (file)
@@ -1,5 +1,7 @@
 2001-10-29  Richard M. Stallman  <rms@gnu.org>
 
+       * 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
index 19ae4625625d61830ce2427341018752027c75b7..167514efcf061afd08b04da747b630b005ae6f0d 100644 (file)
@@ -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