Function: verilog-more-comment
verilog-more-comment is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-more-comment)
Documentation
Make more comment lines like the previous.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-more-comment ()
"Make more comment lines like the previous."
(let* ((star 0)
(stcol
(cond
((verilog-in-star-comment-p)
(save-excursion
(setq star 1)
(re-search-backward "/\\*" nil t)
(1+(current-column))))
(comment-column
comment-column )
(t
(save-excursion
(re-search-backward "//" nil t)
(current-column))))))
(progn
(indent-to stcol)
(if (and star
(save-excursion
(forward-line -1)
(skip-chars-forward " \t")
(looking-at "\\*")))
(insert "* ")))))