helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit 32cb28b50b3366ad35e2cb936367268ddeec745f
parent 8893e4ba49e4447b41ee08d93e58c23e07bc7514
Author: Mekeor Melire <mekeor@posteo.de>
Date:   Wed,  3 May 2023 20:16:28 +0200

helpful--heading: propertize newline as well, enabling `:extend t`

Prior to this commit, setting attribute :extend of the face
helpful--heading to t did not take any effect. This is fixed by this
commit by propertizing the newline right after the heading as well.

Diffstat:
Mhelpful.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpful.el b/helpful.el @@ -167,7 +167,7 @@ can make Helpful very slow.") (defun helpful--heading (text) "Propertize TEXT as a heading." - (format "%s\n" (propertize text 'face 'helpful-heading))) + (propertize (concat text "\n") 'face 'helpful-heading)) (defun helpful--format-closure (sym form) "Given a closure, return an equivalent defun form."