From d84018b5b1ee0edbd562f7aa092ef738e8c510ba Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Tue, 8 Dec 2015 11:22:14 +0300 Subject: 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 file changed, 7 insertions(+), 2 deletions(-) (limited to 'emacs/guix-info.el') diff --git a/emacs/guix-info.el b/emacs/guix-info.el index 9dd6afa2e0..1c7e79b954 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) -- cgit 1.4.1