Function: ebrowse-create-tree-buffer
ebrowse-create-tree-buffer is a byte-compiled function defined in
ebrowse.el.gz.
Signature
(ebrowse-create-tree-buffer TREE TAGS-FILE HEADER CLASSES POP)
Documentation
Create a new tree buffer for tree TREE.
The tree was loaded from file TAGS-FILE. HEADER is the header structure of the file. CLASSES is a hash-table with an entry for each class in the tree. POP non-nil means popup the buffer up at the end. Return the buffer created.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-create-tree-buffer (tree tags-file header classes pop)
"Create a new tree buffer for tree TREE.
The tree was loaded from file TAGS-FILE.
HEADER is the header structure of the file.
CLASSES is a hash-table with an entry for each class in the tree.
POP non-nil means popup the buffer up at the end.
Return the buffer created."
(let ((name ebrowse-tree-buffer-name))
(set-buffer (get-buffer-create name))
(ebrowse-tree-mode)
(setq ebrowse--tree tree
ebrowse--tags-file-name tags-file
ebrowse--tree-table classes
ebrowse--header header
ebrowse--frozen-flag nil)
(ebrowse-redraw-tree)
(set-buffer-modified-p nil)
(pcase pop
('switch (switch-to-buffer name))
('pop (pop-to-buffer name)))
(current-buffer)))