aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/calc.texi6
-rw-r--r--lisp/ChangeLog10
3 files changed, 20 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 63d67c6659..29165252fe 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-30 Jay Belanger <[email protected]>
+
+ * calc.texi (User Defined Units): Mention how to enter optional display
+ string.
+
2008-09-25 Teodor Zlatanov <[email protected]>
* message.texi (Sending Variables): Fixed variable documentation to
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index be38321f5c..504fe5ea72 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -27877,7 +27877,11 @@ typing @kbd{u d rod} defines the new unit @samp{rod} to be equivalent to
16.5 feet. The unit conversion and simplification commands will now
treat @code{rod} just like any other unit of length. You will also be
prompted for an optional English description of the unit, which will
-appear in the Units Table.
+appear in the Units Table. If you wish the definition of this unit to
+be displayed in a special way in the Units Table buffer (such as with an
+asterisk to indicate an approximate value), then you can call this
+command with an argument, @kbd{C-u u d}; you will then also be prompted
+for a string that will be used to display the definition.
@kindex u u
@pindex calc-undefine-unit
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1ab3018a99..d77a8b9f99 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
+2008-09-30 Jay Belanger <[email protected]>
+
+ * calc/calc-units.el (math-standard-units): Add entries used to
+ display the the values in the units buffer.
+ (math-build-units-table): Add entries to the units table to be used
+ to display the values in the units buffer.
+ (math-build-units-table-buffer): Use the display entry of the units
+ table when non-nil.
+ (calc-define-unit): Add option to enter display value of unit.
+
2008-09-29 Michael Albinus <[email protected]>
* vc-hooks.el (vc-file-clearprops): Check, that FILE is a string.