diff options
author | Alex Kost <alezost@gmail.com> | 2015-12-08 11:22:14 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-12-09 19:54:19 +0300 |
commit | d84018b5b1ee0edbd562f7aa092ef738e8c510ba (patch) | |
tree | 53008921bd6faba419e601897c02bfb44505f58d | |
parent | e15fcdd149cec662fcaf4b550ee32879bd53a591 (diff) | |
download | patches-d84018b5b1ee0edbd562f7aa092ef738e8c510ba.tar patches-d84018b5b1ee0edbd562f7aa092ef738e8c510ba.tar.gz |
emacs: info: Add 'guix-info-heading' face.
* emacs/guix-info.el (guix-info-heading): New face.
(guix-package-info-heading): Inherit it.
-rw-r--r-- | 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 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) |