From: David Ponce Date: Thu, 16 Jun 2005 05:39:56 +0000 (+0000) Subject: (tree-widget-value-create): Simplify last change. X-Git-Tag: emacs-pretest-22.0.90~8898 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66c20a8203fa0246961ac0f50dd1b5bfecf587d0;p=emacs.git (tree-widget-value-create): Simplify last change. --- 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.