Variable: semantic-symref-tool-alist

semantic-symref-tool-alist is a variable defined in symref.el.gz.

Value

(((lambda (rootdir) (file-exists-p (expand-file-name "GPATH" rootdir)))
  . global)
 ((lambda (rootdir) (file-exists-p (expand-file-name "ID" rootdir)))
  . idutils)
 ((lambda (rootdir)
    (file-exists-p (expand-file-name "cscope.out" rootdir)))
  . cscope))

Documentation

Alist of tools usable by semantic-symref.

Each entry is of the form:
   ( PREDICATE . KEY )
Where PREDICATE is a function that takes a directory name for the root of a project, and returns non-nil if the tool represented by KEY is supported.

If no tools are supported, then grep is assumed.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref.el.gz
;;; TOOL SETUP
;;
(defvar semantic-symref-tool-alist
  '( ( (lambda (rootdir) (file-exists-p (expand-file-name "GPATH" rootdir))) .
       global)
     ( (lambda (rootdir) (file-exists-p (expand-file-name "ID" rootdir))) .
       idutils)
     ( (lambda (rootdir) (file-exists-p (expand-file-name "cscope.out" rootdir))) .
       cscope )
    )
  "Alist of tools usable by `semantic-symref'.
Each entry is of the form:
   ( PREDICATE . KEY )
Where PREDICATE is a function that takes a directory name for the
root of a project, and returns non-nil if the tool represented by KEY
is supported.

If no tools are supported, then `grep' is assumed.")