Function: tex-goto-last-unclosed-latex-block

tex-goto-last-unclosed-latex-block is an interactive and byte-compiled function defined in tex-mode.el.gz.

Signature

(tex-goto-last-unclosed-latex-block)

Documentation

Move point to the last unclosed \begin{...}.

Mark is left at original location.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
(defun tex-goto-last-unclosed-latex-block ()
  "Move point to the last unclosed \\begin{...}.
Mark is left at original location."
  (interactive)
  (let ((spot))
    (save-excursion
      (tex-last-unended-begin)
      (setq spot (point)))
    (push-mark)
    (goto-char spot)))