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

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

[nongnu] elpa/git-commit 10b5407131 2/2: magit-diff-highlight-list: Ensu


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 10b5407131 2/2: magit-diff-highlight-list: Ensure delayed highlighting takes place
Date: Tue, 8 Mar 2022 13:58:14 -0500 (EST)

branch: elpa/git-commit
commit 10b5407131d4299ca9ed038a23a3a41bcaac14fc
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-diff-highlight-list: Ensure delayed highlighting takes place
---
 lisp/magit-diff.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index a5183b6899..dd384e870c 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -3022,7 +3022,8 @@ are highlighted."
       (unless (and (region-active-p)
                    (<= (region-beginning) beg))
         (magit-section-make-overlay beg cnt 'magit-section-highlight))
-      (unless (oref section hidden)
+      (if (oref section hidden)
+          (oset section washer #'ignore)
         (dolist (child (oref section children))
           (when (or (eq this-command 'mouse-drag-region)
                     (not (and (region-active-p)



reply via email to

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