aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2006-01-21 04:52:06 +0000
committerJay Belanger2006-01-21 04:52:06 +0000
commit6a056c5d38f7059b7c70e784dcdf62eb00d561d7 (patch)
tree4330e7937ced1b49c3dc5a5000b4c7470280c228
parenta6c72dc393be9cf3629bf62c3b65f737533b5010 (diff)
downloademacs-6a056c5d38f7059b7c70e784dcdf62eb00d561d7.tar.gz
emacs-6a056c5d38f7059b7c70e784dcdf62eb00d561d7.zip
(math-add-symb-fancy): Check the length of the correct variable.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/calc/calc-arith.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d84868c746c..d8beecfd4a0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,9 @@
3 * calc/calcalg2.el (calc-sum-rec): Fix the sum when the lower 3 * calc/calcalg2.el (calc-sum-rec): Fix the sum when the lower
4 limit is 0. 4 limit is 0.
5 5
6 * calc/calc-arith.el (math-add-symb-fancy): Check the length of
7 the correct variable.
8
62006-01-20 Carsten Dominik <dominik@science.uva.nl> 92006-01-20 Carsten Dominik <dominik@science.uva.nl>
7 10
8 * textmodes/org.el: (org-open-at-point): Fixed bug with matching a 11 * textmodes/org.el: (org-open-at-point): Fixed bug with matching a
diff --git a/lisp/calc/calc-arith.el b/lisp/calc/calc-arith.el
index dc341cb7aec..64e0b4b7d10 100644
--- a/lisp/calc/calc-arith.el
+++ b/lisp/calc/calc-arith.el
@@ -1201,7 +1201,7 @@
1201 (and (math-known-scalarp b) 1201 (and (math-known-scalarp b)
1202 (math-add (nth 1 a) b)))) 1202 (math-add (nth 1 a) b))))
1203 (and (eq (car-safe b) 'calcFunc-idn) 1203 (and (eq (car-safe b) 'calcFunc-idn)
1204 (= (length a) 2) 1204 (= (length b) 2)
1205 (or (and (math-square-matrixp a) 1205 (or (and (math-square-matrixp a)
1206 (math-add a (math-mimic-ident (nth 1 b) a))) 1206 (math-add a (math-mimic-ident (nth 1 b) a)))
1207 (and (math-known-scalarp a) 1207 (and (math-known-scalarp a)