Function: vhdl-comment-uncomment-line

vhdl-comment-uncomment-line is an interactive and byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-comment-uncomment-line &optional ARG)

Documentation

Comment out line if not commented out, uncomment otherwise.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-comment-uncomment-line (&optional arg)
  "Comment out line if not commented out, uncomment otherwise."
  (interactive "p")
  (save-excursion
    (beginning-of-line)
    (let ((position (point)))
      (forward-line (or arg 1))
      (vhdl-comment-uncomment-region position (point)))))