Function: math-rwcomp-best-reg
math-rwcomp-best-reg is a byte-compiled function defined in
calc-rewr.el.gz.
Signature
(math-rwcomp-best-reg X)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-rewr.el.gz
(defun math-rwcomp-best-reg (x)
(or (and (eq (car-safe x) 'var)
(let ((entry (assq (nth 2 x) math-aliased-vars)))
(and entry
(not (nth 2 entry))
(not (nth 2 (math-rwcomp-reg-entry (nth 1 entry))))
(progn
(setcar (cdr (cdr entry)) t)
(nth 1 entry)))))
(math-rwcomp-reg)))