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

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

[nongnu] elpa/popup 23652e7 064/184: Use face inheritance to avoid dupli


From: ELPA Syncer
Subject: [nongnu] elpa/popup 23652e7 064/184: Use face inheritance to avoid duplication
Date: Wed, 6 Oct 2021 00:01:07 -0400 (EDT)

branch: elpa/popup
commit 23652e7776ef683256f8fd62d89708f81943843e
Author: Takafumi Arakaki <aka.tkf@gmail.com>
Commit: Takafumi Arakaki <aka.tkf@gmail.com>

    Use face inheritance to avoid duplication
---
 popup.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/popup.el b/popup.el
index 3caa82f..7bd3ad8 100644
--- a/popup.el
+++ b/popup.el
@@ -214,7 +214,7 @@ buffer."
   :group 'popup)
 
 (defface popup-summary-face
-  '((t (:background "lightgray" :foreground "dimgray")))
+  '((t (:inherit popup-face :foreground "dimgray")))
   "Face for popup summary."
   :group 'popup)
 
@@ -1046,7 +1046,7 @@ PROMPT is a prompt string when reading events during 
event loop."
 ;;; Popup Menu
 
 (defface popup-menu-face
-  '((t (:background "lightgray" :foreground "black")))
+  '((t (:inherit popup-face)))
   "Face for popup menu."
   :group 'popup)
 
@@ -1061,7 +1061,7 @@ PROMPT is a prompt string when reading events during 
event loop."
   :group 'popup)
 
 (defface popup-menu-summary-face
-  '((t (:background "lightgray" :foreground "dimgray")))
+  '((t (:inherit popup-summary-face)))
   "Face for popup summary."
   :group 'popup)
 



reply via email to

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