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

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

[elpa] externals/ivy-hydra 6a22192 360/395: ivy.el (ivy--highlight-defau


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 6a22192 360/395: ivy.el (ivy--highlight-default): Use match faces consistently
Date: Thu, 25 Feb 2021 08:32:38 -0500 (EST)

branch: externals/ivy-hydra
commit 6a22192f11a4aa0d43692bf685fd9b9d75911d00
Author: Troy Brown <brownts@users.noreply.github.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--highlight-default): Use match faces consistently
    
    Fixes #2717
    Fixes #2718
    Re ##2080
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index e53aa51..1b32490 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3982,7 +3982,8 @@ in this case."
               (let ((beg (match-beginning i))
                     (end (match-end i)))
                 (when (and beg end)
-                  (unless (and prev (= prev beg))
+                  (unless (or (and prev (= prev beg))
+                              (zerop i))
                     (cl-incf n))
                   (let ((face
                          (cond ((and ivy-use-group-face-if-no-groups



reply via email to

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