Function: ede-generic-find-matching-target

ede-generic-find-matching-target is a byte-compiled function defined in generic.el.gz.

Signature

(ede-generic-find-matching-target CLASS DIR TARGETS)

Documentation

Find a target that is a CLASS and is in DIR in the list of TARGETS.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/generic.el.gz
;;; Automatic target acquisition.
(defun ede-generic-find-matching-target (class dir targets)
  "Find a target that is a CLASS and is in DIR in the list of TARGETS."
  (let ((match nil))
    (dolist (T targets)
      (when (and (object-of-class-p T class)
		 (string= (oref T path) dir))
	(setq match T)
      ))
    match))