summaryrefslogtreecommitdiff
path: root/lisp/tree-widget.el
diff options
context:
space:
mode:
authorDavid Ponce <david@dponce.com>2005-06-16 05:39:56 +0000
committerDavid Ponce <david@dponce.com>2005-06-16 05:39:56 +0000
commit66c20a8203fa0246961ac0f50dd1b5bfecf587d0 (patch)
tree0f37357aa4b10d50f0aacfec5ba2a6e8128baef7 /lisp/tree-widget.el
parentc25ae380129e07c6ed714c030612eabfac680957 (diff)
downloademacs-66c20a8203fa0246961ac0f50dd1b5bfecf587d0.tar.gz
(tree-widget-value-create): Simplify last change.
Diffstat (limited to 'lisp/tree-widget.el')
-rw-r--r--lisp/tree-widget.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el
index 448879cea5a..93b466194a1 100644
--- a/lisp/tree-widget.el
+++ b/lisp/tree-widget.el
@@ -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.