From 7f60267cc2e6984078bb0fb7fd01cb9690396e17 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 10 Oct 2023 15:18:52 +0200 Subject: [PATCH] ; * 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. -- 2.39.2