Function: ede--detect-ldf-predicate
ede--detect-ldf-predicate is a byte-compiled function defined in
detect.el.gz.
Signature
(ede--detect-ldf-predicate DIR)
Documentation
Non-nil if DIR contain any known EDE project types.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/detect.el.gz
(defun ede--detect-ldf-predicate (dir)
"Non-nil if DIR contain any known EDE project types."
(if (ede--detect-stop-scan-p dir)
(throw 'stopscan nil)
(let ((types ede-project-class-files))
;; Loop over all types, loading in the first type that we find.
(while (and types (not ede--detect-found-project))
(if (ede-auto-detect-in-dir (car types) dir)
(progn
;; We found one!
(setq ede--detect-found-project (car types)))
(setq types (cdr types)))
)
ede--detect-found-project)))