Skip to content

Commit e79aa49

Browse files
committed
Mention corresponding versions #263
1 parent 90db5ca commit e79aa49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

diff-hl.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ It can be a relative expression as well, such as \"HEAD^\" with Git, or
422422
(and (eq state 'up-to-date)
423423
;; VC state is stale in after-revert-hook.
424424
(or (static-if (boundp 'revert-buffer-in-progress)
425+
;; Emacs 31.
425426
revert-buffer-in-progress
426427
revert-buffer-in-progress-p)
427428
;; Diffing against an older revision.
@@ -741,6 +742,7 @@ Return a list of line overlays used."
741742
(if (listp value-or-buffer)
742743
(funcall cb value-or-buffer)
743744
(static-if (fboundp 'vc-run-delayed-success)
745+
;; Emacs 31.
744746
(with-current-buffer value-or-buffer
745747
(vc-run-delayed-success 1
746748
(funcall cb (diff-hl-changes-from-buffer (current-buffer)))))

0 commit comments

Comments
 (0)