Function: reftex-toc-quit-and-kill
reftex-toc-quit-and-kill is an interactive and byte-compiled function
defined in reftex-toc.el.gz.
Signature
(reftex-toc-quit-and-kill)
Documentation
Kill the *toc* buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-toc-quit-and-kill ()
"Kill the *toc* buffer."
(interactive)
(kill-buffer "*toc*")
(or (one-window-p) (delete-window))
(switch-to-buffer (marker-buffer reftex-toc-return-marker))
(reftex-re-enlarge)
(goto-char (marker-position reftex-toc-return-marker)))