mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(widget-documentation-string-value-create): Insert indentation spaces.
This commit is contained in:
parent
61af0f396e
commit
33f400c315
1 changed files with 4 additions and 0 deletions
|
|
@ -2910,6 +2910,8 @@ link for that string."
|
|||
(let ((before (substring doc 0 (match-beginning 0)))
|
||||
(after (substring doc (match-beginning 0)))
|
||||
button)
|
||||
(when (and indent (not (zerop indent)))
|
||||
(insert-char ?\s indent))
|
||||
(insert before ?\s)
|
||||
(widget-documentation-link-add widget start (point))
|
||||
(setq button
|
||||
|
|
@ -2928,6 +2930,8 @@ link for that string."
|
|||
(insert after)
|
||||
(widget-documentation-link-add widget start (point)))
|
||||
(widget-put widget :buttons (list button)))
|
||||
(when (and indent (not (zerop indent)))
|
||||
(insert-char ?\s indent))
|
||||
(insert doc)
|
||||
(widget-documentation-link-add widget start (point))))
|
||||
(insert ?\n))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue