Function: TeX-source-specials-view-expand-options

TeX-source-specials-view-expand-options is a byte-compiled function defined in tex.el.

Signature

(TeX-source-specials-view-expand-options &optional VIEWER)

Documentation

Return source specials command line option for viewer command.

The return value depends on the values of TeX-source-correlate-mode(var)/TeX-source-correlate-mode(fun) and TeX-source-correlate-method-active. If those are nil or not source-specials respectively, an empty string will be returned.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-source-specials-view-expand-options (&optional _viewer)
  "Return source specials command line option for viewer command.
The return value depends on the values of
`TeX-source-correlate-mode' and
`TeX-source-correlate-method-active'.  If those are nil or not
`source-specials' respectively, an empty string will be
returned."
  (if (and TeX-source-correlate-mode
           (eq (TeX-source-correlate-method-active) 'source-specials))
      (concat TeX-source-specials-view-position-flags
              (when (TeX-source-correlate-server-enabled-p)
                (concat " " TeX-source-specials-view-editor-flags)))
    ""))