From: Richard M. Stallman Date: Sun, 9 Jan 1994 22:36:46 +0000 (+0000) Subject: (diff-latest-backup-file): Call file-chase-links. X-Git-Tag: emacs-19.34~10310 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfe417305ef535771cee5229a929de177753dcc6;p=emacs.git (diff-latest-backup-file): Call file-chase-links. --- diff --git a/lisp/diff.el b/lisp/diff.el index 82a657f4ecc..6d0a08627cd 100644 --- a/lisp/diff.el +++ b/lisp/diff.el @@ -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))