Function: ede--detect-scan-directory-for-rootonly-project
ede--detect-scan-directory-for-rootonly-project is a byte-compiled
function defined in detect.el.gz.
Signature
(ede--detect-scan-directory-for-rootonly-project DIRECTORY)
Documentation
Detect an EDE project for the current DIRECTORY by scanning.
This function ALWAYS scans files and directories and DOES NOT
use any file caches.
Return a cons cell:
( ROOTDIR . PROJECT-AUTOLOAD)
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/detect.el.gz
(defun ede--detect-scan-directory-for-rootonly-project (directory)
"Detect an EDE project for the current DIRECTORY by scanning.
This function ALWAYS scans files and directories and DOES NOT
use any file caches.
Return a cons cell:
( ROOTDIR . PROJECT-AUTOLOAD)"
(let* ((ede--detect-found-project nil)
(root
(catch 'stopscan
(locate-dominating-file directory
'ede--detect-ldf-rootonly-predicate))))
(when root
(cons root ede--detect-found-project))))