# HG changeset patch # User David Ponce # Date 1118900396 0 # Node ID 0f66f455f7d7bdb5d8deb54742352e308b607b34 # Parent 7560cecba8b877b28fb05e64c4079e683dc90975 (tree-widget-value-create): Simplify last change. diff -r 7560cecba8b8 -r 0f66f455f7d7 lisp/tree-widget.el --- a/lisp/tree-widget.el Thu Jun 16 05:39:35 2005 +0000 +++ b/lisp/tree-widget.el Thu Jun 16 05:39:56 2005 +0000 @@ -618,14 +618,7 @@ (flags (widget-get tree :tree-widget--guide-flags)) (indent (widget-get tree :indent)) children buttons) - (and indent - (null flags) - (save-restriction - (widen) - (or (bolp) - (and (eq (char-before) ?<) - (save-excursion - (backward-char) (bolp))))) + (and indent (not (widget-get tree :parent)) (insert-char ?\ indent)) (if (widget-get tree :open) ;;;; Unfolded node.