From eb90d8443cc32d5c6ec5bdff9ffa1ae392dc577b Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Tue, 14 Feb 2006 21:38:57 +0000 Subject: [PATCH] (math-check-known-scalarp): Make sure expression is a symbol before checking that it is bound. --- lisp/calc/calc-arith.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/calc/calc-arith.el b/lisp/calc/calc-arith.el index a5f25e2464e..ec09ae29318 100644 --- a/lisp/calc/calc-arith.el +++ b/lisp/calc/calc-arith.el @@ -334,6 +334,7 @@ ((memq 'scalar (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-scalarp val)) -- 2.39.2