Variable: preview-auto-reveal

preview-auto-reveal is a customizable variable defined in preview.el.

Value

(eval
 (apply #'preview-arrived-via
	(mapcar
	 #'#[257 "\211<\203�\211@\300=\203�\301\302\"\207\207"
		 [key-binding eval t] 4
		 ("/root/.emacs.d/elpa/auctex-14.1.2/preview.elc"
		  . 54456)]
	 preview-auto-reveal-commands))
 t)

Documentation

Cause previews to open automatically 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. An integer will specify a maximum cursor movement distance. Larger movements won't open the preview. 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/preview.el
(defcustom preview-auto-reveal
  `(eval . ((apply #'preview-arrived-via
                   ;; Quote the function value for interpreted code in
                   ;; Emacs<30 (bug#79975):
                   (mapcar #',(lambda (cmd)
                                (if (and (listp cmd) (eq (car cmd) 'key-binding))
                                    (eval cmd t)
                                  cmd))
                           preview-auto-reveal-commands))
            t))
  "Cause previews to open automatically 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.
An integer will specify a maximum cursor movement distance.
Larger movements won't open the preview.
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 'preview-appearance
  :type '(choice (const :tag "Off" nil)
                 (const :tag "On" t)
                 (symbol :tag "Indirect variable" :value reveal-mode)
                 (integer :tag "Maximum distance" :value 1)
                 (cons :tag "Function call"
                       :value (eval (preview-arrived-via
                                     (key-binding [left])
                                     (key-binding [right])))
                       function (list :tag "Argument list"
                                      (repeat :inline t sexp)))))