Function: TeX-master-output-file

TeX-master-output-file is a byte-compiled function defined in tex.el.

Signature

(TeX-master-output-file EXTENSION)

Documentation

Return the output file with given EXTENSION.

If TeX-output-dir is nil, then defer to TeX-master-file. Otherwise, return the file of the same name, but in the build directory specified by TeX-output-dir.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-master-output-file (extension)
  "Return the output file with given EXTENSION.
If `TeX-output-dir' is nil, then defer to `TeX-master-file'.  Otherwise,
return the file of the same name, but in the build directory specified by
`TeX-output-dir'."
  (let ((master (TeX-master-file extension)))
    (if-let* ((output-dir (TeX--master-output-dir (TeX-master-directory) t)))
        (concat output-dir (file-name-nondirectory master))
      master)))