Function: vhdl-comment-display
vhdl-comment-display is an interactive and byte-compiled function
defined in vhdl-mode.el.gz.
Signature
(vhdl-comment-display &optional LINE-EXISTS)
Documentation
Add 2 comment lines at the current indent, making a display comment.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-comment-display (&optional line-exists)
"Add 2 comment lines at the current indent, making a display comment."
(interactive)
(let ((margin (current-indentation)))
(unless line-exists (vhdl-comment-display-line))
(insert "\n") (indent-to margin)
(insert "\n") (indent-to margin)
(vhdl-comment-display-line)
(end-of-line -0)
(insert "-- ")))