Function: TeX-home-buffer

TeX-home-buffer is an interactive and byte-compiled function defined in tex.el.

Signature

(TeX-home-buffer)

Documentation

Go to the buffer where you last issued a TeX command.

If there is no such buffer, or you already are in that buffer, find the master file.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-home-buffer ()
  "Go to the buffer where you last issued a TeX command.
If there is no such buffer, or you already are in that buffer, find
the master file."
  (interactive)
  (if (or (null TeX-command-buffer)
          (null (buffer-name TeX-command-buffer))
          (eq TeX-command-buffer (current-buffer)))
      (find-file (TeX-master-file TeX-default-extension))
    (switch-to-buffer TeX-command-buffer)))