Variable: TeX-fold-auto-reveal
TeX-fold-auto-reveal is a customizable variable defined in
tex-fold.el.
Value
(eval
(apply #'TeX-fold-arrived-via
(mapcar
(lambda (cmd)
(if (and (listp cmd) (eq (car cmd) 'key-binding))
(eval cmd t)
cmd))
TeX-fold-auto-reveal-commands))
t)
Documentation
Predicate to open a fold when entered.
Possibilities are: t autoopens, nil doesn't, a symbol will have its value consulted if it exists, defaulting to nil if it doesn't. A CONS-cell means to call a function for determining the value. The CAR of the cell is the function to call which receives the CDR of the CONS-cell in the rest of the arguments, while point and current buffer point to the position in question. All of the options show reasonable defaults.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-fold.el
(defcustom TeX-fold-auto-reveal
'(eval . ((apply #'TeX-fold-arrived-via
(mapcar (lambda (cmd)
(if (and (listp cmd) (eq (car cmd) 'key-binding))
(eval cmd t)
cmd))
TeX-fold-auto-reveal-commands))
t))
"Predicate to open a fold when entered.
Possibilities are:
t autoopens,
nil doesn't,
a symbol will have its value consulted if it exists,
defaulting to nil if it doesn't.
A CONS-cell means to call a function for determining the value.
The CAR of the cell is the function to call which receives
the CDR of the CONS-cell in the rest of the arguments, while
point and current buffer point to the position in question.
All of the options show reasonable defaults."
:group 'TeX-fold
:type '(choice (const :tag "Off" nil)
(const :tag "On" t)
(symbol :tag "Indirect variable" :value reveal-mode)
(cons :tag "Function call"
:value (eval (TeX-fold-arrived-via
(key-binding [left])
(key-binding [right])
#'backward-char #'forward-char
#'mouse-set-point))
function (list :tag "Argument list"
(repeat :inline t sexp)))))