changeset 63482:0f66f455f7d7

(tree-widget-value-create): Simplify last change.
author David Ponce <david@dponce.com>
date Thu, 16 Jun 2005 05:39:56 +0000
parents 7560cecba8b8
children 8e09dea7559c
files lisp/tree-widget.el
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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.