Function: ede-find-file

ede-find-file is an autoloaded, interactive and byte-compiled function defined in files.el.gz.

Signature

(ede-find-file FILE)

Documentation

Find FILE in project. FILE can be specified without a directory.

There is no completion at the prompt. FILE is searched for within the current EDE project.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/files.el.gz
;;; Code:
;;;###autoload
(defun ede-find-file (file)
  "Find FILE in project.  FILE can be specified without a directory.
There is no completion at the prompt.  FILE is searched for within
the current EDE project."
  (interactive "sFile: ")
  (let* ((proj (ede-current-project))
	 (fname (ede-expand-filename proj file))
	)
    (unless fname
      (error "Could not find %s in %s"
	     file
	     (ede-project-root-directory proj)))
    (find-file fname)))