Function: project-am-preferred-target-type

project-am-preferred-target-type is a byte-compiled function defined in project-am.el.gz.

Signature

(project-am-preferred-target-type FILE)

Documentation

For FILE, return the preferred type for that file.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/project-am.el.gz
(defun project-am-preferred-target-type (file)
  "For FILE, return the preferred type for that file."
  (cond ((string-match "\\.texi?\\(nfo\\)$" file)
	 'project-am-texinfo)
	((string-match "\\.[0-9]$" file)
	 'project-am-man)
	((string-match "\\.el$" file)
	 'project-am-lisp)
	(t
	 'project-am-program)))