Function: vhdl-compose-insert-generic
vhdl-compose-insert-generic is a byte-compiled function defined in
vhdl-mode.el.gz.
Signature
(vhdl-compose-insert-generic ENTRY)
Documentation
Insert ENTRY as generic declaration.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-compose-insert-generic (entry)
"Insert ENTRY as generic declaration."
(let (pos)
(indent-to (* 2 vhdl-basic-offset))
(insert (nth 0 entry) " : " (nth 1 entry))
(when (nth 2 entry)
(insert " := " (nth 2 entry)))
(insert ";")
(setq pos (point-marker))
(when (and vhdl-include-port-comments (nth 3 entry))
(vhdl-comment-insert-inline (nth 3 entry) t))
(insert "\n")
pos))