mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
(widget-add-documentation-string-button): Fix handling of
documentation indent.
This commit is contained in:
parent
1f0abf8fd2
commit
511ab56a1c
@ -2956,11 +2956,10 @@ Optional ARGS specifies additional keyword arguments for the
|
||||
(insert-char ?\s indent))
|
||||
(unless (or (numberp doc-indent) (null doc-indent))
|
||||
(setq doc-indent 0))
|
||||
(setq indent (widget-get widget :documentation-indent))
|
||||
(widget-put widget :buttons
|
||||
(cons (apply 'widget-create-child-and-convert
|
||||
widget 'documentation-string
|
||||
:indent indent
|
||||
:indent doc-indent
|
||||
(nconc args (list doc)))
|
||||
(widget-get widget :buttons))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user