# HG changeset patch # User Colin Walters # Date 1014062780 0 # Node ID 36c14bc6e7fbc390217635e001e5469a138e0fcf # Parent fef73ecd984e3d6ab2e4250d11670d3601000c1d (math-solve-get-int): Convert return value from `math-get-from-counter' to a string before calling `concat' on it. diff -r fef73ecd984e -r 36c14bc6e7fb lisp/calc/calcalg2.el --- a/lisp/calc/calcalg2.el Mon Feb 18 20:06:07 2002 +0000 +++ b/lisp/calc/calcalg2.el Mon Feb 18 20:06:20 2002 +0000 @@ -3160,7 +3160,8 @@ (math-mul val (list 'calcFunc-an var-GenCount)) (setq var-GenCount (math-add var-GenCount 1)) (calc-refresh-evaltos 'var-GenCount)) - (let* ((var (concat "n" (math-get-from-counter 'solve-int))) + (let* ((var (concat "n" (int-to-string + (math-get-from-counter 'solve-int)))) (var2 (list 'var (intern var) (intern (concat "var-" var))))) (if (and range (eq solve-full 'all)) (setq math-solve-ranges (cons (cons var2