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 8de44211ffd..891fb970449 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -254,7 +254,7 @@ The backup file is the first file given to `diff'."
(defun diff-latest-backup-file (fn) ; actually belongs into files.el
"Return the latest existing backup of FILE, or nil."
- (let ((handler (find-file-name-handler fn)))
+ (let ((handler (find-file-name-handler fn 'diff-latest-backup-file)))
(if handler
(funcall handler 'diff-latest-backup-file fn)
;; First try simple backup, then the highest numbered of the