(tree-widget-value-create): Simplify last change.
This commit is contained in:
parent
c25ae38012
commit
66c20a8203
1 changed files with 1 additions and 8 deletions
|
@ -618,14 +618,7 @@ IGNORE other arguments."
|
||||||
(flags (widget-get tree :tree-widget--guide-flags))
|
(flags (widget-get tree :tree-widget--guide-flags))
|
||||||
(indent (widget-get tree :indent))
|
(indent (widget-get tree :indent))
|
||||||
children buttons)
|
children buttons)
|
||||||
(and indent
|
(and indent (not (widget-get tree :parent))
|
||||||
(null flags)
|
|
||||||
(save-restriction
|
|
||||||
(widen)
|
|
||||||
(or (bolp)
|
|
||||||
(and (eq (char-before) ?<)
|
|
||||||
(save-excursion
|
|
||||||
(backward-char) (bolp)))))
|
|
||||||
(insert-char ?\ indent))
|
(insert-char ?\ indent))
|
||||||
(if (widget-get tree :open)
|
(if (widget-get tree :open)
|
||||||
;;;; Unfolded node.
|
;;;; Unfolded node.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue