diff options
| author | Mekeor Melire <mekeor@posteo.de> | 2023-05-03 20:16:28 +0200 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2023-05-04 08:46:20 -0700 |
| commit | 32cb28b50b3366ad35e2cb936367268ddeec745f (patch) | |
| tree | 1229f0f1a6553425a901c771e0c642a1c3a4b6a7 | |
| parent | 8893e4ba49e4447b41ee08d93e58c23e07bc7514 (diff) | |
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.
| -rw-r--r-- | helpful.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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." |
