Function: ebrowse-expand-all

ebrowse-expand-all is an interactive and byte-compiled function defined in ebrowse.el.gz.

Signature

(ebrowse-expand-all COLLAPSE)

Documentation

Expand or fold all trees in the buffer.

COLLAPSE non-nil means fold them.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-expand-all (collapse)
  "Expand or fold all trees in the buffer.
COLLAPSE non-nil means fold them."
  (interactive "P")
  (with-silent-modifications
    (if (not collapse)
        (ebrowse--unhide (point-min) (point-max))
      (save-excursion
	(goto-char (point-min))
	(while (progn (end-of-line) (not (eobp)))
	  (when (looking-at "\n ")
            (ebrowse--hide (point) (line-end-position 2)))
	  (skip-chars-forward "\n "))))))