Function: verilog-kill-existing-comment
verilog-kill-existing-comment is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-kill-existing-comment)
Documentation
Kill auto comment on this line.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
;;; Other functions:
;;
(defun verilog-kill-existing-comment ()
"Kill auto comment on this line."
(save-excursion
(let* (
(e (progn
(end-of-line)
(point)))
(b (progn
(beginning-of-line)
(search-forward "//" e t))))
(if b
(delete-region (- b 2) e)))))