Function: TeX--clean-extensions-regexp
TeX--clean-extensions-regexp is a byte-compiled function defined in
tex.el.
Signature
(TeX--clean-extensions-regexp &optional ARG)
Documentation
Return a regexp to match extensions that should be cleaned by TeX-clean.
If the optional argument ARG is non-nil then output files are also included in the regexp.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX--clean-extensions-regexp (&optional arg)
"Return a regexp to match extensions that should be cleaned by `TeX-clean'.
If the optional argument ARG is non-nil then output files are
also included in the regexp."
(let* ((mode-prefix (TeX-mode-prefix))
(suffixes (and mode-prefix
(append (symbol-value
(intern (concat mode-prefix
"-clean-intermediate-suffixes")))
(when arg
(symbol-value
(intern (concat mode-prefix
"-clean-output-suffixes"))))))))
(when suffixes
(mapconcat #'identity suffixes "\\|"))))