Function: ede-speedbar-compile-file-project
ede-speedbar-compile-file-project is an interactive and byte-compiled
function defined in speedbar.el.gz.
Signature
(ede-speedbar-compile-file-project)
Documentation
Compile/Build the target which the current file belongs to.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/speedbar.el.gz
(defun ede-speedbar-compile-file-project ()
"Compile/Build the target which the current file belongs to."
(interactive)
(let* ((file (speedbar-line-file))
(buf (find-file-noselect file))
(bwin (get-buffer-window buf 0)))
(if bwin
(progn
(select-window bwin)
(raise-frame (window-frame bwin)))
(dframe-select-attached-frame speedbar-frame)
(set-buffer buf)
(ede-compile-target))))