Function: ConTeXt-mark-environment

ConTeXt-mark-environment is an interactive and byte-compiled function defined in context.el.

Signature

(ConTeXt-mark-environment &optional INNER)

Documentation

Set mark to end of current environment (\start...-\stop...) and point to the matching begin. If optional INNER is not nil, include \start... and \stop, otherwise only the contents.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-mark-environment (&optional inner)
  "Set mark to end of current environment (\\start...-\\stop...) and
point to the matching begin.
If optional INNER is not nil, include \\start... and \\stop, otherwise only
the contents."
  (interactive)
  (let ((cur (point)))
    (ConTeXt-find-matching-stop inner)
    (push-mark (point))
    (goto-char cur)
    (ConTeXt-find-matching-start inner)
    (TeX-activate-region)))