Function: rst-uncomment-region

rst-uncomment-region is a byte-compiled function defined in rst.el.gz.

Signature

(rst-uncomment-region BEG END &optional ARG)

Documentation

Uncomment the current region.

Region is from BEG to END. _ARG is ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
(defun rst-uncomment-region (beg end &optional _arg)
  "Uncomment the current region.
Region is from BEG to END.  _ARG is ignored."
  (save-excursion
    (goto-char beg)
    (rst-forward-line-strict 0)
    (let ((bol (point)))
      (rst-forward-line-strict 1 end)
      (indent-rigidly (point) end (- rst-indent-comment))
      (goto-char bol)
      (rst-delete-entire-line 0))))