Function: math-multi-subst-rec
math-multi-subst-rec is an autoloaded and byte-compiled function
defined in calc-map.el.gz.
Signature
(math-multi-subst-rec EXPR)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-map.el.gz
(defun math-multi-subst-rec (expr)
(cond ((setq math-ms-temp (assoc expr math-ms-args))
(cdr math-ms-temp))
((Math-primp expr) expr)
((and (eq (car expr) 'calcFunc-lambda) (> (length expr) 2))
(let ((new (list (car expr)))
(math-ms-args math-ms-args))
(while (cdr (setq expr (cdr expr)))
(setq new (cons (car expr) new))
(if (assoc (car expr) math-ms-args)
(setq math-ms-args (cons (cons (car expr) (car expr))
math-ms-args))))
(nreverse (cons (math-multi-subst-rec (car expr)) new))))
(t
(cons (car expr)
(mapcar 'math-multi-subst-rec (cdr expr))))))