Function: TeX-arg-conditional
TeX-arg-conditional is a byte-compiled function defined in latex.el.
Signature
(TeX-arg-conditional OPTIONAL EXPR THEN ELSE)
Documentation
Implement if EXPR THEN ELSE.
If EXPR evaluate to true, parse THEN as an argument list, else parse ELSE as an argument list. The compatibility argument OPTIONAL is ignored.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
;;; Macro Argument Hooks
(defun TeX-arg-conditional (_optional expr then else)
"Implement if EXPR THEN ELSE.
If EXPR evaluate to true, parse THEN as an argument list, else
parse ELSE as an argument list. The compatibility argument
OPTIONAL is ignored."
(declare (indent 2))
(TeX-parse-arguments (if (eval expr t) then else)))