From: Jay Belanger Date: Tue, 30 Sep 2008 02:45:50 +0000 (+0000) Subject: (User Defined Units): Mention how to enter optional display string. X-Git-Tag: emacs-pretest-23.0.90~2722 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4043c1949e6c5f6c6eb2a0024043e24d61a994fa;p=emacs.git (User Defined Units): Mention how to enter optional display string. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 63d67c66599..29165252fe9 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-30 Jay Belanger + + * calc.texi (User Defined Units): Mention how to enter optional display + string. + 2008-09-25 Teodor Zlatanov * message.texi (Sending Variables): Fixed variable documentation to diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index be38321f5cf..504fe5ea729 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 1ab3018a994..d77a8b9f994 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,13 @@ +2008-09-30 Jay Belanger + + * 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 * vc-hooks.el (vc-file-clearprops): Check, that FILE is a string.