branch: externals/ef-themes
commit 198653dfa2aac29a6d30eecce64f1134859c1b29
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add support for built-in 'shortdoc' faces
    
    Their default is to use the 'variable-pitch' font, which feels out of
    place.
    
    Thanks to Bruno Boal for pointing this out.  It was done via a private
    channel and the information is shared with permission.
---
 README.org   | 9 +++++----
 ef-themes.el | 3 +++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index bef5aa354b..6caeeb4586 100644
--- a/README.org
+++ b/README.org
@@ -1370,6 +1370,7 @@ everything most users need.
 - rst-mode
 - ruler-mode
 - shell-script-mode (sh-mode)
+- shortdoc [Part of {{{development-version}}}.]
 - show-paren-mode
 - shr
 - smerge
@@ -1714,10 +1715,10 @@ matters.
   Eshel Yaron, Philip Kaludercic, Walheimat.
 
 + Ideas and/or user feedback :: Alan Schmitt, Amo DelBello, Anthony
-  Chavez, Benjamin (zealotrush), Daniel Mendler, Federico Stilman,
-  Iris Garcia, Jean-Philippe Gagné Guay, Jonas Collberg, Saša Janiška,
-  Spike-Leung, Steve Molitor, Summer Emacs, Sven Seebeck, Thanos
-  Apollo, Zoltán Király, goldfita.
+  Chavez, Benjamin (zealotrush), Bruno Boal, Daniel Mendler, Federico
+  Stilman, Iris Garcia, Jean-Philippe Gagné Guay, Jonas Collberg, Saša
+  Janiška, Spike-Leung, Steve Molitor, Summer Emacs, Sven Seebeck,
+  Thanos Apollo, Zoltán Király, goldfita.
 
 * GNU Free Documentation License
 :PROPERTIES:
diff --git a/ef-themes.el b/ef-themes.el
index eeea6b9770..43b3e23792 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -2124,6 +2124,9 @@ text should not be underlined as well) yet still blend 
in."
     `(ruler-mode-margins ((,c :inherit ruler-mode-default :foreground 
,bg-main)))
     `(ruler-mode-pad ((,c :inherit ruler-mode-default :background ,bg-alt 
:foreground ,fg-dim)))
     `(ruler-mode-tab-stop ((,c :inherit ruler-mode-default :foreground 
,yellow)))
+;;;; shortdoc
+    `(shortdoc-heading ((,c :inherit bold)))
+    `(shortdoc-section (())) ; remove the default's variable-pitch style
 ;;;; show-paren-mode
     `(show-paren-match ((,c :background ,bg-paren :foreground ,fg-intense)))
     `(show-paren-match-expression ((,c :background ,bg-alt)))

Reply via email to