changeset 68860:34704dae6f60

(math-check-known-matrixp): Make sure expression is a symbol before checking that it is bound.
author Jay Belanger <jay.p.belanger@gmail.com>
date Mon, 13 Feb 2006 21:34:20 +0000
parents 75362867e699
children 89b0b3664871
files lisp/calc/calc-arith.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-arith.el	Mon Feb 13 18:47:24 2006 +0000
+++ b/lisp/calc/calc-arith.el	Mon Feb 13 21:34:20 2006 +0000
@@ -362,6 +362,7 @@
             ((memq 'matrix (nth 1 decl))
              t)
             ((and (eq (car a) 'var)
+                  (symbolp (nth 2 a))
                   (boundp (nth 2 a))
                   (setq val (symbol-value (nth 2 a))))
              (math-check-known-matrixp val))