Commit 511ab56a authored by Chong Yidong's avatar Chong Yidong
Browse files

(widget-add-documentation-string-button): Fix handling of

documentation indent.
parent 1f0abf8f
......@@ -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))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment