[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: emacs: info: Add 'guix-info-heading' face.
From: |
Alex Kost |
Subject: |
01/04: emacs: info: Add 'guix-info-heading' face. |
Date: |
Wed, 09 Dec 2015 17:04:01 +0000 |
alezost pushed a commit to branch master
in repository guix.
commit d84018b5b1ee0edbd562f7aa092ef738e8c510ba
Author: Alex Kost <address@hidden>
Date: Tue Dec 8 11:22:14 2015 +0300
emacs: info: Add 'guix-info-heading' face.
* emacs/guix-info.el (guix-info-heading): New face.
(guix-package-info-heading): Inherit it.
---
emacs/guix-info.el | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/emacs/guix-info.el b/emacs/guix-info.el
index 9dd6afa..1c7e79b 100644
--- a/emacs/guix-info.el
+++ b/emacs/guix-info.el
@@ -38,6 +38,12 @@
:group 'guix-info
:group 'guix-faces)
+(defface guix-info-heading
+ '((((type tty pc) (class color)) :weight bold)
+ (t :height 1.6 :weight bold :inherit variable-pitch))
+ "Face for headings."
+ :group 'guix-info-faces)
+
(defface guix-info-param-title
'((t :inherit font-lock-type-face))
"Face used for titles of parameters."
@@ -416,8 +422,7 @@ See `insert-text-button' for the meaning of PROPERTIES."
:required (id installed non-unique))
(defface guix-package-info-heading
- '((((type tty pc) (class color)) :weight bold)
- (t :height 1.6 :weight bold :inherit variable-pitch))
+ '((t :inherit guix-info-heading))
"Face for package name and version headings."
:group 'guix-package-info-faces)