Function: ede-expand-filename-impl-via-subproj

ede-expand-filename-impl-via-subproj is a byte-compiled function defined in files.el.gz.

Signature

(ede-expand-filename-impl-via-subproj ARG &rest ARGS)

Implementations

(ede-expand-filename-impl-via-subproj (THIS ede-project) FILENAME) in `ede/files.el'.

Return a fully qualified file name based on project THIS. FILENAME should be just a filename which occurs in a directory controlled by this project.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/files.el.gz
(cl-defmethod ede-expand-filename-impl-via-subproj ((this ede-project) filename)
  "Return a fully qualified file name based on project THIS.
FILENAME should be just a filename which occurs in a directory controlled
by this project."
  (let ((proj (list (ede-toplevel this)))
	(found nil))
    ;; find it Locally.
    (while (and (not found) proj)
      (let ((thisproj (car proj)))
	(setq proj (append (cdr proj) (oref thisproj subproj)))
	(setq found (when thisproj
		      (ede-expand-filename-local thisproj filename)))
	))
    ;; Return it
    found))