emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/diff-hl 176f931 14/25: Support buffers in 'conflict' st


From: Dmitry Gutov
Subject: [elpa] externals/diff-hl 176f931 14/25: Support buffers in 'conflict' state as well
Date: Sun, 20 Dec 2020 05:07:02 -0500 (EST)

branch: externals/diff-hl
commit 176f931a9bfc6bc6fc5360c6ed7128ff96b21289
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Support buffers in 'conflict' state as well
---
 diff-hl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diff-hl.el b/diff-hl.el
index 2dcff96..94b9f73 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -246,7 +246,7 @@ the end position as its only argument."
      ,body))
 
 (defun diff-hl-modified-p (state)
-  (or (eq state 'edited)
+  (or (memq state '(edited conflict))
       (and (eq state 'up-to-date)
            ;; VC state is stale in after-revert-hook.
            (or revert-buffer-in-progress-p



reply via email to

[Prev in Thread] Current Thread [Next in Thread]