]> git.eshelyaron.com Git - emacs.git/commitdiff
(tree-widget-value-create): Simplify last change.
authorDavid Ponce <david@dponce.com>
Thu, 16 Jun 2005 05:39:56 +0000 (05:39 +0000)
committerDavid Ponce <david@dponce.com>
Thu, 16 Jun 2005 05:39:56 +0000 (05:39 +0000)
lisp/tree-widget.el

index 448879cea5a71481ec5cedbbeb4c968937868a76..93b466194a13d088b8b7b4f7d7f6c7aa1cf285dd 100644 (file)
@@ -618,14 +618,7 @@ IGNORE other arguments."
          (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.