]> git.eshelyaron.com Git - emacs.git/commitdiff
(diff-latest-backup-file): Call file-chase-links.
authorRichard M. Stallman <rms@gnu.org>
Sun, 9 Jan 1994 22:36:46 +0000 (22:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 9 Jan 1994 22:36:46 +0000 (22:36 +0000)
lisp/diff.el

index 82a657f4ecc9d19ebbce923be6d12d2cbceb3d69..6d0a08627cd821bd828aa3d6452491a9e63e4f1a 100644 (file)
@@ -260,7 +260,7 @@ The backup file is the first file given to `diff'."
   ;; Ignore the value of version-control because we look for existing
   ;; backups, which maybe were made earlier or by another user with
   ;; a different value of version-control.
-  (setq fn (expand-file-name fn))
+  (setq fn (file-chase-links (expand-file-name fn)))
   (or
    (let ((bak (make-backup-file-name fn)))
      (if (file-exists-p bak) bak))