Function: TeX--call-minor-mode
TeX--call-minor-mode is a byte-compiled function defined in tex.el.
Signature
(TeX--call-minor-mode VAR VAL &rest _)
Documentation
Call minor mode function if minor mode variable is found.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX--call-minor-mode (var val &rest _)
"Call minor mode function if minor mode variable is found."
;; Instead of checking for each mode explicitly `minor-mode-list'
;; could be used. But this may make the byte compiler pop up.
(when (memq var '(TeX-PDF-mode
TeX-source-correlate-mode TeX-interactive-mode
TeX-fold-mode LaTeX-math-mode))
(funcall var (if (symbol-value val) 1 0))))