Function: TeX-run-function
TeX-run-function is a byte-compiled function defined in tex.el.
Signature
(TeX-run-function NAME COMMAND FILE)
Documentation
Execute Lisp function or function call given as the string COMMAND.
Parameters NAME and FILE are ignored.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-run-function (_name command _file)
"Execute Lisp function or function call given as the string COMMAND.
Parameters NAME and FILE are ignored."
(let ((fun (car (read-from-string command))))
(if (functionp fun) (funcall fun) (eval fun t))))