Function: vhdl-align-inline-comment-group
vhdl-align-inline-comment-group is an interactive and byte-compiled
function defined in vhdl-mode.el.gz.
Signature
(vhdl-align-inline-comment-group &optional SPACING)
Documentation
Align inline comments within a group of lines between empty lines.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-align-inline-comment-group (&optional _spacing)
"Align inline comments within a group of lines between empty lines."
(interactive)
(save-excursion
(let ((start (point))
beg end)
(setq end (if (re-search-forward vhdl-align-group-separate nil t)
(point-marker) (point-max)))
(goto-char start)
(setq beg (if (re-search-backward vhdl-align-group-separate nil t)
(point) (point-min)))
(untabify beg end)
(message "Aligning inline comments...")
(vhdl-align-inline-comment-region-1 beg end)
(when vhdl-indent-tabs-mode
(tabify beg end))
(message "Aligning inline comments...done"))))