aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calc/calc-alg.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7794e110c76..eadc70785d3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-11-03 Vincent Belaïche <vincent.b.1@hotmail.fr>
2
3 * calc/calc-alg.el (calcFunc-collect): Return constant polynomial
4 when appropriate.
5
12008-11-02 Martin Rudalics <rudalics@gmx.at> 62008-11-02 Martin Rudalics <rudalics@gmx.at>
2 7
3 * window.el (save-selected-window-norecord): New macro 8 * window.el (save-selected-window-norecord): New macro
diff --git a/lisp/calc/calc-alg.el b/lisp/calc/calc-alg.el
index 20730b91dca..34d2829f2c3 100644
--- a/lisp/calc/calc-alg.el
+++ b/lisp/calc/calc-alg.el
@@ -1600,7 +1600,7 @@
1600 (if (cdr p) 1600 (if (cdr p)
1601 (math-normalize ; fix selection bug 1601 (math-normalize ; fix selection bug
1602 (math-build-polynomial-expr p base)) 1602 (math-build-polynomial-expr p base))
1603 expr))) 1603 (car p))))
1604 1604
1605;;; If expr is of the form "a + bx + cx^2 + ...", return the list (a b c ...), 1605;;; If expr is of the form "a + bx + cx^2 + ...", return the list (a b c ...),
1606;;; else return nil if not in polynomial form. If "loose" (math-is-poly-loose), 1606;;; else return nil if not in polynomial form. If "loose" (math-is-poly-loose),