aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-09 22:36:46 +0000
committerRichard M. Stallman1994-01-09 22:36:46 +0000
commitdfe417305ef535771cee5229a929de177753dcc6 (patch)
tree3e6b17f202835cf7a945ac44a13037fe00a9b730
parentd52fd67cd1d0cc4c3eb82f284000b4763acef49e (diff)
downloademacs-dfe417305ef535771cee5229a929de177753dcc6.tar.gz
emacs-dfe417305ef535771cee5229a929de177753dcc6.zip
(diff-latest-backup-file): Call file-chase-links.
-rw-r--r--lisp/diff.el2
1 files changed, 1 insertions, 1 deletions
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'."
260 ;; Ignore the value of version-control because we look for existing 260 ;; Ignore the value of version-control because we look for existing
261 ;; backups, which maybe were made earlier or by another user with 261 ;; backups, which maybe were made earlier or by another user with
262 ;; a different value of version-control. 262 ;; a different value of version-control.
263 (setq fn (expand-file-name fn)) 263 (setq fn (file-chase-links (expand-file-name fn)))
264 (or 264 (or
265 (let ((bak (make-backup-file-name fn))) 265 (let ((bak (make-backup-file-name fn)))
266 (if (file-exists-p bak) bak)) 266 (if (file-exists-p bak) bak))