Function: vhdl-speedbar-make-design
vhdl-speedbar-make-design is an interactive and byte-compiled function
defined in vhdl-mode.el.gz.
Signature
(vhdl-speedbar-make-design)
Documentation
Make (compile) design unit or directory/project under the cursor.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-speedbar-make-design ()
"Make (compile) design unit or directory/project under the cursor."
(interactive)
(if (not (save-excursion (beginning-of-line)
(looking-at "[0-9]+: *\\(\\(\\[\\)\\|<\\)")))
(error "ERROR: No primary design unit or directory/project under cursor")
(let ((is-unit (match-string 2))
(unit-name (vhdl-speedbar-line-text))
(vhdl-project (vhdl-speedbar-line-project))
(directory (file-name-as-directory
(or (speedbar-line-file) (speedbar-line-directory)))))
(if (fboundp 'speedbar-select-attached-frame)
(speedbar-select-attached-frame)
(select-frame speedbar-attached-frame))
(let ((default-directory directory))
(vhdl-make (and is-unit unit-name))))))