mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 00:51:50 -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)))
|
(let ((before (substring doc 0 (match-beginning 0)))
|
||||||
(after (substring doc (match-beginning 0)))
|
(after (substring doc (match-beginning 0)))
|
||||||
button)
|
button)
|
||||||
|
(when (and indent (not (zerop indent)))
|
||||||
|
(insert-char ?\s indent))
|
||||||
(insert before ?\s)
|
(insert before ?\s)
|
||||||
(widget-documentation-link-add widget start (point))
|
(widget-documentation-link-add widget start (point))
|
||||||
(setq button
|
(setq button
|
||||||
|
|
@ -2928,6 +2930,8 @@ link for that string."
|
||||||
(insert after)
|
(insert after)
|
||||||
(widget-documentation-link-add widget start (point)))
|
(widget-documentation-link-add widget start (point)))
|
||||||
(widget-put widget :buttons (list button)))
|
(widget-put widget :buttons (list button)))
|
||||||
|
(when (and indent (not (zerop indent)))
|
||||||
|
(insert-char ?\s indent))
|
||||||
(insert doc)
|
(insert doc)
|
||||||
(widget-documentation-link-add widget start (point))))
|
(widget-documentation-link-add widget start (point))))
|
||||||
(insert ?\n))
|
(insert ?\n))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue