Function: eieio-speedbar-line-path
eieio-speedbar-line-path is a byte-compiled function defined in
eieio-speedbar.el.gz.
Signature
(eieio-speedbar-line-path &optional DEPTH)
Documentation
If applicable, return the path to the file the cursor is on.
Optional DEPTH is the depth we start at.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-speedbar.el.gz
(defun eieio-speedbar-line-path (&optional depth)
"If applicable, return the path to the file the cursor is on.
Optional DEPTH is the depth we start at."
(save-match-data
(if (not depth)
(progn
(beginning-of-line)
(looking-at "^\\([0-9]+\\):")
(setq depth (string-to-number (match-string 1)))))
;; This whole function is presently bogus. Make it better later.
(let ((tok (eieio-speedbar-find-nearest-object depth)))
(if (eieio-object-p tok)
(eieio-speedbar-derive-line-path tok)
default-directory))))