Function: verilog-comment-indent

verilog-comment-indent is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-comment-indent &optional ARG)

Documentation

Return the column number the line should be indented to.

_ARG is ignored, for comment-indent-function compatibility.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-comment-indent (&optional _arg)
  "Return the column number the line should be indented to.
_ARG is ignored, for `comment-indent-function' compatibility."
  (cond
   ((verilog-in-star-comment-p)
    (save-excursion
      (re-search-backward "/\\*" nil t)
      (1+(current-column))))
   ( comment-column
     comment-column )
   (t
    (save-excursion
      (re-search-backward "//" nil t)
      (current-column)))))