Function: vera-comment-uncomment-region

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

Signature

(vera-comment-uncomment-region BEG END &optional ARG)

Documentation

Comment region if not commented, uncomment region if already commented.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vera-mode.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Comments

(defun vera-comment-uncomment-region (beg end &optional _arg)
  "Comment region if not commented, uncomment region if already commented."
  (interactive "r\nP")
  (goto-char beg)
  (if (looking-at comment-start-skip)
      (comment-region beg end '(4))
    (comment-region beg end)))