(math-check-known-matrixp): Make sure expression is a symbol before

checking that it is bound.
This commit is contained in:
Jay Belanger 2006-02-13 21:36:51 +00:00
parent f8d775e1cd
commit c3a1b86139
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-02-13 Jay Belanger <belanger@truman.edu>
* 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 <rms@gnu.org>
* mouse.el (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom

View file

@ -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))