Variable: preview-visibility-style

preview-visibility-style is a customizable variable defined in preview.el.

Value

off-point

Documentation

When and where previews and their source are displayed relative to point.

Possible values:

  'always Show previews both at point (alongside the source) and
                 away from point (replacing the source).

  'at-point Show previews only when point is on their source; never hide
                 the source.

  'off-point Show previews only away from point, replacing the source;
                 at point, show a small icon instead (alongside the
                 source). Regenerated previews appear immediately,
                 hiding the source.

The source is always shown while it is being edited or when it is out of sync with the preview.

This variable was added, or its default value changed, in auctex version 14.2.0.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.2.0/preview.el
(defcustom preview-visibility-style 'off-point
  "When and where previews and their source are displayed relative to point.

Possible values:

  \\='always     Show previews both at point (alongside the source) and
                 away from point (replacing the source).

  \\='at-point   Show previews only when point is on their source; never hide
                 the source.

  \\='off-point  Show previews only away from point, replacing the source;
                 at point, show a small icon instead (alongside the
                 source).  Regenerated previews appear immediately,
                 hiding the source.

The source is always shown while it is being edited or when it is out of
sync with the preview."
  :group 'preview-appearance
  :type '(choice
          (const :tag "Only at point with source" at-point)
          (const :tag "Only away from point, hiding source" off-point)
          (const :tag "Both" always))
  :package-version '(auctex . "14.2.0"))