emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7f60267cc2e: ; * lisp/calc/calc-units.el (math-standard-units): D


From: Mattias Engdegård
Subject: master 7f60267cc2e: ; * lisp/calc/calc-units.el (math-standard-units): Doc improvement.
Date: Tue, 10 Oct 2023 09:20:12 -0400 (EDT)

branch: master
commit 7f60267cc2e6984078bb0fb7fd01cb9690396e17
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * lisp/calc/calc-units.el (math-standard-units): Doc improvement.
---
 lisp/calc/calc-units.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el
index 38e45ff7b9a..3e8f25966ef 100644
--- a/lisp/calc/calc-units.el
+++ b/lisp/calc/calc-units.el
@@ -183,6 +183,8 @@
 
     ;; Temperature
     ( K       nil                    "*Kelvin"            K )
+    ;; FIXME: Add °C and °F, but it requires that we sort out input etc for
+    ;; the ° sign.
     ( dC      "K"                    "Degree Celsius"     C )
     ( degC    "K"                    "Degree Celsius"     C )
     ( dF      "(5/9) K"              "Degree Fahrenheit"  F )
@@ -315,7 +317,9 @@ NAME      is the unit symbol.
 DEF       is a string defining the unit as a Calc expression; nil if base unit.
 DESC      is a string describing the unit (to a human reader).
           A leading asterisk indicates that the unit is first in its group.
-TEMP-UNIT is an additional symbol tabulated for temperature units (?) or nil.
+TEMP-UNIT is `K', `C' or `F' for temperature units and is used to identify
+          the unit when doing absolute temperature conversion
+          (`calc-convert-temperature').  For other units, nil.
 HUMAN-DEF is a string defining the unit (to a human reader).
           If absent or nil, DEF is used.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]