Function: vhdl-error-regexp-add-emacs
vhdl-error-regexp-add-emacs is an interactive and byte-compiled
function defined in vhdl-mode.el.gz.
Signature
(vhdl-error-regexp-add-emacs)
Documentation
Set up Emacs compile for VHDL.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
;; Add error regexps using compilation-mode-hook.
(defun vhdl-error-regexp-add-emacs ()
"Set up Emacs compile for VHDL."
(interactive)
(when (and (boundp 'compilation-error-regexp-alist-alist)
(not (assoc 'vhdl-modelsim compilation-error-regexp-alist-alist)))
;; remove all other compilers
(when vhdl-compile-use-local-error-regexp
(setq compilation-error-regexp-alist nil))
;; add VHDL compilers
(mapcar
(lambda (item)
(push (car item) compilation-error-regexp-alist)
(push item compilation-error-regexp-alist-alist))
vhdl-error-regexp-emacs-alist)))