Function: ede-target-parent
ede-target-parent is a byte-compiled function defined in ede.el.gz.
Signature
(ede-target-parent TARGET)
Documentation
Return the project which is the parent of TARGET.
It is recommended you track the project a different way as this function could become slow in time.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede.el.gz
(defun ede-target-parent (target)
"Return the project which is the parent of TARGET.
It is recommended you track the project a different way as this function
could become slow in time."
(or ede-object-project
;; If not cached, derive it from the current directory of the target.
(let ((ans nil) (projs ede-projects))
(while (and (not ans) projs)
(setq ans (ede-target-in-project-p (car projs) target)
projs (cdr projs)))
ans)))