Function: vhdl-default-directory

vhdl-default-directory is a byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-default-directory)

Documentation

Return the default directory of the current project or the directory of the current buffer if no project is defined.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-default-directory ()
  "Return the default directory of the current project or the directory of the
current buffer if no project is defined."
  (if (vhdl-project-p)
      (expand-file-name (vhdl-resolve-env-variable
			 (nth 1 (vhdl-aget vhdl-project-alist vhdl-project))))
    default-directory))