Function: vhdl-speedbar-goto-this-unit
vhdl-speedbar-goto-this-unit is a byte-compiled function defined in
vhdl-mode.el.gz.
Signature
(vhdl-speedbar-goto-this-unit DIRECTORY UNIT)
Documentation
If UNIT is displayed in DIRECTORY, goto this line and return t, else nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-speedbar-goto-this-unit (directory unit)
"If UNIT is displayed in DIRECTORY, goto this line and return t, else nil."
(let ((dest (point)))
(if (and (if vhdl-speedbar-show-projects
(progn (goto-char (point-min)) t)
(speedbar-goto-this-file directory))
(re-search-forward (concat "[]}] " unit "\\>") nil t))
(progn (speedbar-position-cursor-on-line)
t)
(goto-char dest)
nil)))