summaryrefslogtreecommitdiff
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-09 22:36:46 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-09 22:36:46 +0000
commit9053fe7d7adf454f1305534af1f5530e8cc6e918 (patch)
treee233ec35196827a1449d52b4cfe1d76674f95e8c /lisp/diff.el
parentb36144d7693a2759b3b6cb378efbfa314572336f (diff)
downloademacs-9053fe7d7adf454f1305534af1f5530e8cc6e918.tar.gz
(diff-latest-backup-file): Call file-chase-links.
Diffstat (limited to 'lisp/diff.el')
-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'."
;; 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))