1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 15:11:30 -08:00

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

checking that it is bound.
This commit is contained in:
Jay Belanger 2006-02-14 21:38:57 +00:00
parent 1324d26ee2
commit eb90d8443c

View file

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