summaryrefslogtreecommitdiff
path: root/lisp/diff.el
diff options
context:
space:
mode:
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 a6793dca51f..8de44211ffd 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -256,7 +256,7 @@ The backup file is the first file given to `diff'."
"Return the latest existing backup of FILE, or nil."
(let ((handler (find-file-name-handler fn)))
(if handler
- (funcall handler fn)
+ (funcall handler 'diff-latest-backup-file fn)
;; First try simple backup, then the highest numbered of the
;; numbered backups.
;; Ignore the value of version-control because we look for existing