Function: ede-set-project-local-variable

ede-set-project-local-variable is a byte-compiled function defined in ede.el.gz.

Signature

(ede-set-project-local-variable VARIABLE VALUE &optional PROJECT)

Documentation

Set VARIABLE to VALUE for PROJECT.

If PROJ isn't specified, use the current project. This function only assigns the value within the project structure. It does not apply the value to buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede.el.gz
(defun ede-set-project-local-variable (variable value &optional project)
  "Set VARIABLE to VALUE for PROJECT.
If PROJ isn't specified, use the current project.
This function only assigns the value within the project structure.
It does not apply the value to buffers."
  (if (not project) (setq project (ede-toplevel)))
  (let ((va (assoc variable (oref project local-variables))))
    (unless va
      (error "Cannot set project variable until it is added with `ede-make-project-local-variable'"))
    (setcdr va value)))