Function: TeX-check-engine-add-engines
TeX-check-engine-add-engines is a byte-compiled function defined in
tex.el.
Signature
(TeX-check-engine-add-engines &rest ENGINES)
Documentation
Add ENGINES to list of required engines.
Set TeX-check-engine-list to the intersection between the list
itself and the list of provided engines.
See for example style/fontspec.el
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-check-engine-add-engines (&rest engines)
"Add ENGINES to list of required engines.
Set `TeX-check-engine-list' to the intersection between the list
itself and the list of provided engines.
See for example style/fontspec.el"
(let ((list TeX-check-engine-list)
(res nil))
(setq TeX-check-engine-list
;; The following is based on the definition of `cl-intersection' of
;; GNU Emacs.
(and list engines
(if (equal list engines) list
(or (>= (length list) (length engines))
(setq list (prog1 engines (setq engines list))))
(while engines
(if (memq (car engines) list)
(push (car engines) res))
(pop engines))
res)))))