Function: speedbar-line-directory
speedbar-line-directory is a byte-compiled function defined in
speedbar.el.gz.
Signature
(speedbar-line-directory &optional DEPTH)
Documentation
Retrieve the directory name associated with the current line.
This may require traversing backwards from DEPTH and combining the default
directory with these items. This function is replaceable in
speedbar-mode-functions-list as speedbar-line-directory.
Source Code
;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-line-directory (&optional depth)
"Retrieve the directory name associated with the current line.
This may require traversing backwards from DEPTH and combining the default
directory with these items. This function is replaceable in
`speedbar-mode-functions-list' as `speedbar-line-directory'."
(save-restriction
(widen)
(let ((rf (speedbar-fetch-replacement-function 'speedbar-line-directory)))
(if rf (funcall rf depth) default-directory))))