Function: ede-add-project-to-global-list

ede-add-project-to-global-list is a byte-compiled function defined in ede.el.gz.

Signature

(ede-add-project-to-global-list PROJ)

Documentation

Add the project PROJ to the master list of projects.

On success, return the added project.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede.el.gz
;;; PROJECT LOADING/TRACKING
;;
(defun ede-add-project-to-global-list (proj)
  "Add the project PROJ to the master list of projects.
On success, return the added project."
  (when (not proj)
    (error "No project created to add to master list"))
  (when (not (eieio-object-p proj))
    (error "Attempt to add non-object to master project list"))
  (when (not (obj-of-class-p proj 'ede-project-placeholder))
    (error "Attempt to add a non-project to the ede projects list"))
  (add-to-list 'ede-projects proj)
  proj)