aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-02-03 13:45:59 +0000
committerPavel Janík2002-02-03 13:45:59 +0000
commit2188f2d4f49cfeb1917cac54cabad5b14d85eb78 (patch)
treeb19a482244db35aa3a234b76934d67f3b4276643
parent0c0d3c65cfb07b762f2612d0c0abf194dff43195 (diff)
downloademacs-2188f2d4f49cfeb1917cac54cabad5b14d85eb78.tar.gz
emacs-2188f2d4f49cfeb1917cac54cabad5b14d85eb78.zip
(calculator-displayers): Doc fixes.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calculator.el9
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 72ee693f1a3..323a776e222 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12002-02-03 Pavel Janík <Pavel@Janik.cz>
2
3 * calculator.el (calculator-displayers): Doc fixes.
4
12002-02-03 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 52002-02-03 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 6
3 * menu-bar.el (menu-bar-help-menu): Use different text for 7 * menu-bar.el (menu-bar-help-menu): Use different text for
diff --git a/lisp/calculator.el b/lisp/calculator.el
index fc8f211e4b9..0aca51b2a46 100644
--- a/lisp/calculator.el
+++ b/lisp/calculator.el
@@ -4,7 +4,6 @@
4 4
5;; Author: Eli Barzilay <eli@barzilay.org> 5;; Author: Eli Barzilay <eli@barzilay.org>
6;; Keywords: tools, convenience 6;; Keywords: tools, convenience
7;; Time-stamp: <2001-10-11 16:18:29 eli>
8 7
9;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
10 9
@@ -129,14 +128,14 @@ character, in this case the `calculator-standard-displayer' function
129will be used with this character for a format string.") 128will be used with this character for a format string.")
130 129
131(defcustom calculator-displayers 130(defcustom calculator-displayers
132 '(((std ?n) "Standard dislpay, decimal point or scientific") 131 '(((std ?n) "Standard display, decimal point or scientific")
133 (calculator-eng-display "Eng display") 132 (calculator-eng-display "Eng display")
134 ((std ?f) "Standard display, decimal point") 133 ((std ?f) "Standard display, decimal point")
135 ((std ?e) "Standard dislpay, scientific") 134 ((std ?e) "Standard display, scientific")
136 ("%S" "Emacs printer")) 135 ("%S" "Emacs printer"))
137 "*A list of displayers. 136 "*A list of displayers.
138Each element is a list of a displayer and a description string. The 137Each element is a list of a displayer and a description string. The
139first element is the one which is curently used, this is for the display 138first element is the one which is currently used, this is for the display
140of result values not values in expressions. A displayer specification 139of result values not values in expressions. A displayer specification
141is the same as the values that can be stored in `calculator-displayer'. 140is the same as the values that can be stored in `calculator-displayer'.
142 141
@@ -721,7 +720,7 @@ See the documentation for `calculator-mode' for more information."
721 (calculator))) 720 (calculator)))
722 721
723;;;--------------------------------------------------------------------- 722;;;---------------------------------------------------------------------
724;;; Operatos 723;;; Operators
725 724
726(defun calculator-op-arity (op) 725(defun calculator-op-arity (op)
727 "Return OP's arity, 2, +1 or -1." 726 "Return OP's arity, 2, +1 or -1."