From c3a1b86139af2a446a09d40b28c123931dea6266 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 13 Feb 2006 21:36:51 +0000 Subject: [PATCH] (math-check-known-matrixp): Make sure expression is a symbol before checking that it is bound. --- lisp/ChangeLog | 5 +++++ lisp/calc/calc-arith.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f20cbefd89..e1166bbd2e5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-02-13 Jay Belanger + + * calc/calc-arith.el: (math-check-known-matrixp): Make sure + expression is a symbol before checking that it is bound. + 2006-02-13 Richard M. Stallman * mouse.el (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom diff --git a/lisp/calc/calc-arith.el b/lisp/calc/calc-arith.el index 2372b0ebbfb..a5f25e2464e 100644 --- a/lisp/calc/calc-arith.el +++ b/lisp/calc/calc-arith.el @@ -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)) -- 2.39.2