Function: reftex-re-enlarge
reftex-re-enlarge is a byte-compiled function defined in
reftex-toc.el.gz.
Signature
(reftex-re-enlarge)
Documentation
Enlarge window to a remembered size.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-re-enlarge ()
"Enlarge window to a remembered size."
;; FIXME: reftex-last-window-width might be the width of another window on
;; another frame, so the enlarge-window call might make no sense.
;; We should just use `quit-window' instead nowadays.
(let ((count (if reftex-toc-split-windows-horizontally
(- (or reftex-last-window-width (window-total-width))
(window-total-width))
(- (or reftex-last-window-height (window-height))
(window-height)))))
(when (> count 0)
(with-demoted-errors "Enlarge window error: %S"
(enlarge-window count reftex-toc-split-windows-horizontally)))))