diff options
| author | Jay Belanger | 2005-10-10 19:41:08 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-10-10 19:41:08 +0000 |
| commit | bbcaa3e3b69ae3f3a4d88d35c1a08d24b3627453 (patch) | |
| tree | 6644ce1bbeecdb6f248473d8ccd8d7f7e78e3fa5 | |
| parent | 91f4e5461608eda157fe4fbd034bef206edfc440 (diff) | |
| download | emacs-bbcaa3e3b69ae3f3a4d88d35c1a08d24b3627453.tar.gz emacs-bbcaa3e3b69ae3f3a4d88d35c1a08d24b3627453.zip | |
(calc-matrix-mode, calc-set-mode-line): Change the mode name `square'
to 'sqmatrix'.
| -rw-r--r-- | lisp/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/calc/calc.el | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 94ba10803c5..71500bade97 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2005-10-10 Jay Belanger <belanger@truman.edu> | ||
| 2 | |||
| 3 | * calc/calc-arith.el (math-check-known-scalarp) | ||
| 4 | (math-check-known-matrixp): Check the values of arguments that are | ||
| 5 | variables. | ||
| 6 | (math-check-known-square-matrixp): New function. | ||
| 7 | (math-known-square-matrixp): Use math-check-known-square-matrixp. | ||
| 8 | (math-super-types): Add sqmatrix type. | ||
| 9 | |||
| 10 | * calc/calc-mode.el (calc-matrix-mode, math-get-modes-vec): Change the | ||
| 11 | mode name `square' to 'sqmatrix'. | ||
| 12 | |||
| 13 | * calc/calc.el (calc-matrix-mode, calc-set-mode-line): Change the | ||
| 14 | mode name `square' to 'sqmatrix'. | ||
| 15 | |||
| 1 | 2005-10-10 Stefan Monnier <monnier@iro.umontreal.ca> | 16 | 2005-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 17 | ||
| 3 | * progmodes/etags.el (select-tags-table-mode): Don't use | 18 | * progmodes/etags.el (select-tags-table-mode): Don't use |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 2220376904f..4c6820ca90e 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -654,7 +654,7 @@ If nil, computations on numbers always yield numbers where possible.") | |||
| 654 | (defcalcmodevar calc-matrix-mode nil | 654 | (defcalcmodevar calc-matrix-mode nil |
| 655 | "If `matrix', variables are assumed to be matrix-valued. | 655 | "If `matrix', variables are assumed to be matrix-valued. |
| 656 | If a number, variables are assumed to be NxN matrices. | 656 | If a number, variables are assumed to be NxN matrices. |
| 657 | If `square', variables are assumed to be square matrices of an unspecified size. | 657 | If `sqmatrix', variables are assumed to be square matrices of an unspecified size. |
| 658 | If `scalar', variables are assumed to be scalar-valued. | 658 | If `scalar', variables are assumed to be scalar-valued. |
| 659 | If nil, symbolic math routines make no assumptions about variables.") | 659 | If nil, symbolic math routines make no assumptions about variables.") |
| 660 | 660 | ||
| @@ -1552,7 +1552,7 @@ See calc-keypad for details." | |||
| 1552 | (cond ((eq calc-matrix-mode 'matrix) "Matrix ") | 1552 | (cond ((eq calc-matrix-mode 'matrix) "Matrix ") |
| 1553 | ((integerp calc-matrix-mode) | 1553 | ((integerp calc-matrix-mode) |
| 1554 | (format "Matrix%d " calc-matrix-mode)) | 1554 | (format "Matrix%d " calc-matrix-mode)) |
| 1555 | ((eq calc-matrix-mode 'square) "SqMatrix ") | 1555 | ((eq calc-matrix-mode 'sqmatrix) "SqMatrix ") |
| 1556 | ((eq calc-matrix-mode 'scalar) "Scalar ") | 1556 | ((eq calc-matrix-mode 'scalar) "Scalar ") |
| 1557 | (t "")) | 1557 | (t "")) |
| 1558 | (if (eq calc-complex-mode 'polar) "Polar " "") | 1558 | (if (eq calc-complex-mode 'polar) "Polar " "") |