Function: speedbar-create-tag-hierarchy
speedbar-create-tag-hierarchy is a byte-compiled function defined in
speedbar.el.gz.
Signature
(speedbar-create-tag-hierarchy LST)
Documentation
Adjust the tag hierarchy in LST, and return it.
This uses speedbar-tag-hierarchy-method to determine how to adjust
the list.
Source Code
;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-create-tag-hierarchy (lst)
"Adjust the tag hierarchy in LST, and return it.
This uses `speedbar-tag-hierarchy-method' to determine how to adjust
the list."
(let* ((f (save-excursion
(forward-line -1)
(or (speedbar-line-file)
(speedbar-line-directory))))
(methods (if (get-file-buffer f)
(with-current-buffer (get-file-buffer f)
speedbar-tag-hierarchy-method)
speedbar-tag-hierarchy-method))
(lst (copy-tree lst)))
(while methods
(setq lst (funcall (car methods) lst)
methods (cdr methods)))
lst))