From 66c20a8203fa0246961ac0f50dd1b5bfecf587d0 Mon Sep 17 00:00:00 2001 From: David Ponce Date: Thu, 16 Jun 2005 05:39:56 +0000 Subject: [PATCH] (tree-widget-value-create): Simplify last change. --- lisp/tree-widget.el | 9 +-------- 1 file changed, 1 insertion(+), 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. -- 2.39.5