diff options
| author | Jay Belanger | 2005-10-10 19:38:02 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-10-10 19:38:02 +0000 |
| commit | 91f4e5461608eda157fe4fbd034bef206edfc440 (patch) | |
| tree | 777d2b97396c570f106e1e0b133b597e7d0de8fe /lisp/calc | |
| parent | 3208fa650e0023ed27c111e4365ac661593eda10 (diff) | |
| download | emacs-91f4e5461608eda157fe4fbd034bef206edfc440.tar.gz emacs-91f4e5461608eda157fe4fbd034bef206edfc440.zip | |
(calc-matrix-mode, math-get-modes-vec): Change the mode name `square'
to 'sqmatrix'.
Diffstat (limited to 'lisp/calc')
| -rw-r--r-- | lisp/calc/calc-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el index 7782b7a1f83..d04a95831ef 100644 --- a/lisp/calc/calc-mode.el +++ b/lisp/calc/calc-mode.el | |||
| @@ -352,7 +352,7 @@ | |||
| 352 | (if (eq calc-complex-mode 'polar) 1 0) | 352 | (if (eq calc-complex-mode 'polar) 1 0) |
| 353 | (cond ((eq calc-matrix-mode 'scalar) 0) | 353 | (cond ((eq calc-matrix-mode 'scalar) 0) |
| 354 | ((eq calc-matrix-mode 'matrix) -2) | 354 | ((eq calc-matrix-mode 'matrix) -2) |
| 355 | ((eq calc-matrix-mode 'square) -3) | 355 | ((eq calc-matrix-mode 'sqmatrix) -3) |
| 356 | (calc-matrix-mode) | 356 | (calc-matrix-mode) |
| 357 | (t -1)) | 357 | (t -1)) |
| 358 | (cond ((eq calc-simplify-mode 'none) -1) | 358 | (cond ((eq calc-simplify-mode 'none) -1) |
| @@ -478,7 +478,7 @@ | |||
| 478 | ((< (prefix-numeric-value arg) 1) | 478 | ((< (prefix-numeric-value arg) 1) |
| 479 | (and (< (prefix-numeric-value arg) -1) 'matrix)) | 479 | (and (< (prefix-numeric-value arg) -1) 'matrix)) |
| 480 | (arg | 480 | (arg |
| 481 | (if (consp arg) 'square | 481 | (if (consp arg) 'sqmatrix |
| 482 | (prefix-numeric-value arg))) | 482 | (prefix-numeric-value arg))) |
| 483 | ((eq calc-matrix-mode 'matrix) 'scalar) | 483 | ((eq calc-matrix-mode 'matrix) 'scalar) |
| 484 | ((eq calc-matrix-mode 'scalar) nil) | 484 | ((eq calc-matrix-mode 'scalar) nil) |
| @@ -488,7 +488,7 @@ | |||
| 488 | calc-matrix-mode calc-matrix-mode) | 488 | calc-matrix-mode calc-matrix-mode) |
| 489 | (message (if (eq calc-matrix-mode 'matrix) | 489 | (message (if (eq calc-matrix-mode 'matrix) |
| 490 | "Variables are assumed to be matrices" | 490 | "Variables are assumed to be matrices" |
| 491 | (if (eq calc-matrix-mode 'square) | 491 | (if (eq calc-matrix-mode 'sqmatrix) |
| 492 | "Variables are assumed to be square matrices" | 492 | "Variables are assumed to be square matrices" |
| 493 | (if calc-matrix-mode | 493 | (if calc-matrix-mode |
| 494 | "Variables are assumed to be scalars (non-matrices)" | 494 | "Variables are assumed to be scalars (non-matrices)" |