Function: TeX--output-dir-arg

TeX--output-dir-arg is a byte-compiled function defined in tex.el.

Signature

(TeX--output-dir-arg ARGNAME)

Documentation

Format the output directory as a command argument.

ARGNAME is prepended to the quoted output directory. If TeX-output-dir is nil then return an empty string.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX--output-dir-arg (argname)
  "Format the output directory as a command argument.
ARGNAME is prepended to the quoted output directory.  If
`TeX-output-dir' is nil then return an empty string."
  (let ((out-dir (TeX--master-output-dir (TeX-master-directory) t t)))
    (if out-dir
        (concat argname "\"" out-dir "\"")
      "")))