 ;;      modi/verilog-update-which-func-format
 ;;    modi/verilog-jump-to-module-at-point (interactive)
 ;;    modi/verilog-find-parent-module (interactive)
-;;    my/verilog-selective-indent
+;;    modi/verilog-selective-indent
 ;;    modi/verilog-compile
 ;;    convert end-block comments to block names
 ;;  hideshow

              ;; (message module-instance-pcre)
              (ag-regexp module-instance-pcre (projectile-project-root)))))))

;;;; my/verilog-selective-indent
    ;; http://emacs.stackexchange.com/a/8033/115
    (defun my/verilog-selective-indent (&rest args)
      "Return t if either of the below is true:
- The current line starts with optional whitespace and then `// *'
- The current line contains `//.'

If the first match above is true, also delete any preceding white space too.

Tweak the verilog-mode indentation to skip the lines that begin with
“<optional-white-space>// *” in order to not break any `outline-mode'
or `outshine' functionality.

The match with `//.' resolves this issue:
  http://www.veripool.org/issues/922-Verilog-mode-Consistent-comment-column
"
      (save-excursion
        (beginning-of-line)
        (let* ((match1 (looking-at "^[[:blank:]]*// \\*")) ; // *
               (match2 (looking-at "^.*//\\.")) ; //.
               (match (or match1 match2)))
          (when match1
            (delete-horizontal-space))
          match)))
    ;; Advise the indentation behavior of `indent-region' done using `C-M-\'
    (advice-add 'verilog-indent-line-relative :before-until #'my/verilog-selective-indent)
    ;; Advise the indentation done by hitting `TAB'
    (advice-add 'verilog-indent-line          :before-until #'my/verilog-selective-indent)

;;;; modi/verilog-compile
    (defun modi/verilog-compile (option)

;; Time-stamp: <2016-08-11 16:58:25 kmodi>

;; Verilog

