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

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

[elpa] externals/ivy-hydra 911a360 365/395: Consistently use modern face


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 911a360 365/395: Consistently use modern face spec syntax
Date: Thu, 25 Feb 2021 08:32:39 -0500 (EST)

branch: externals/ivy-hydra
commit 911a3604de7ea822fa96900f243c25756a3e245c
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Consistently use modern face spec syntax
    
    * counsel.el (counsel--mark-ring-highlight)
    (counsel-evil-register-face):
    * swiper.el (swiper-match-face-1, swiper-match-face-2)
    (swiper-match-face-3, swiper-match-face-4)
    (swiper-background-match-face-1, swiper-background-match-face-2)
    (swiper-background-match-face-3, swiper-background-match-face-4)
    (swiper-line-face): Use modern (DISPLAY . PLIST) face spec syntax,
    as per (info "(elisp) Defining Faces").
---
 counsel.el |  4 ++--
 swiper.el  | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/counsel.el b/counsel.el
index 3b4326b..0e6a26f 100644
--- a/counsel.el
+++ b/counsel.el
@@ -4031,7 +4031,7 @@ This variable has no effect unless
 ;; Misc. Emacs
 ;;** `counsel-mark-ring'
 (defface counsel--mark-ring-highlight
-  '((t (:inherit highlight)))
+  '((t :inherit highlight))
   "Face for current `counsel-mark-ring' line."
   :group 'ivy-faces)
 
@@ -4588,7 +4588,7 @@ matching the register's value description against a 
regexp in
 
 ;;** `counsel-evil-registers'
 (defface counsel-evil-register-face
-  '((t (:inherit counsel-outline-1)))
+  '((t :inherit counsel-outline-1))
   "Face for highlighting `evil' registers in ivy."
   :group 'ivy-faces)
 
diff --git a/swiper.el b/swiper.el
index 7075285..bca5a47 100644
--- a/swiper.el
+++ b/swiper.el
@@ -42,47 +42,47 @@
   :prefix "swiper-")
 
 (defface swiper-match-face-1
-  '((t (:inherit lazy-highlight)))
+  '((t :inherit lazy-highlight))
   "The background face for `swiper' matches."
   :group 'ivy-faces)
 
 (defface swiper-match-face-2
-  '((t (:inherit isearch)))
+  '((t :inherit isearch))
   "Face for `swiper' matches modulo 1."
   :group 'ivy-faces)
 
 (defface swiper-match-face-3
-  '((t (:inherit match)))
+  '((t :inherit match))
   "Face for `swiper' matches modulo 2."
   :group 'ivy-faces)
 
 (defface swiper-match-face-4
-  '((t (:inherit isearch-fail)))
+  '((t :inherit isearch-fail))
   "Face for `swiper' matches modulo 3."
   :group 'ivy-faces)
 
 (defface swiper-background-match-face-1
-  '((t (:inherit swiper-match-face-1)))
+  '((t :inherit swiper-match-face-1))
   "The background face for non-current `swiper' matches."
   :group 'ivy-faces)
 
 (defface swiper-background-match-face-2
-  '((t (:inherit swiper-match-face-2)))
+  '((t :inherit swiper-match-face-2))
   "Face for non-current `swiper' matches modulo 1."
   :group 'ivy-faces)
 
 (defface swiper-background-match-face-3
-  '((t (:inherit swiper-match-face-3)))
+  '((t :inherit swiper-match-face-3))
   "Face for non-current `swiper' matches modulo 2."
   :group 'ivy-faces)
 
 (defface swiper-background-match-face-4
-  '((t (:inherit swiper-match-face-4)))
+  '((t :inherit swiper-match-face-4))
   "Face for non-current `swiper' matches modulo 3."
   :group 'ivy-faces)
 
 (defface swiper-line-face
-  '((t (:inherit highlight)))
+  '((t :inherit highlight))
   "Face for current `swiper' line."
   :group 'ivy-faces)
 



reply via email to

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