diff options
| author | Mattias Engdegård | 2023-10-10 15:18:52 +0200 |
|---|---|---|
| committer | Mattias Engdegård | 2023-10-10 15:18:52 +0200 |
| commit | 7f60267cc2e6984078bb0fb7fd01cb9690396e17 (patch) | |
| tree | a83ba40f23aa397097af741c58f5d75a78c381df | |
| parent | 1e250df590b3415a365f6620aba8431a3e255207 (diff) | |
| download | emacs-7f60267cc2e6984078bb0fb7fd01cb9690396e17.tar.gz emacs-7f60267cc2e6984078bb0fb7fd01cb9690396e17.zip | |
; * lisp/calc/calc-units.el (math-standard-units): Doc improvement.
| -rw-r--r-- | lisp/calc/calc-units.el | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
| 183 | 183 | ||
| 184 | ;; Temperature | 184 | ;; Temperature |
| 185 | ( K nil "*Kelvin" K ) | 185 | ( K nil "*Kelvin" K ) |
| 186 | ;; FIXME: Add °C and °F, but it requires that we sort out input etc for | ||
| 187 | ;; the ° sign. | ||
| 186 | ( dC "K" "Degree Celsius" C ) | 188 | ( dC "K" "Degree Celsius" C ) |
| 187 | ( degC "K" "Degree Celsius" C ) | 189 | ( degC "K" "Degree Celsius" C ) |
| 188 | ( dF "(5/9) K" "Degree Fahrenheit" F ) | 190 | ( dF "(5/9) K" "Degree Fahrenheit" F ) |
| @@ -315,7 +317,9 @@ NAME is the unit symbol. | |||
| 315 | DEF is a string defining the unit as a Calc expression; nil if base unit. | 317 | DEF is a string defining the unit as a Calc expression; nil if base unit. |
| 316 | DESC is a string describing the unit (to a human reader). | 318 | DESC is a string describing the unit (to a human reader). |
| 317 | A leading asterisk indicates that the unit is first in its group. | 319 | A leading asterisk indicates that the unit is first in its group. |
| 318 | TEMP-UNIT is an additional symbol tabulated for temperature units (?) or nil. | 320 | TEMP-UNIT is `K', `C' or `F' for temperature units and is used to identify |
| 321 | the unit when doing absolute temperature conversion | ||
| 322 | (`calc-convert-temperature'). For other units, nil. | ||
| 319 | HUMAN-DEF is a string defining the unit (to a human reader). | 323 | HUMAN-DEF is a string defining the unit (to a human reader). |
| 320 | If absent or nil, DEF is used. | 324 | If absent or nil, DEF is used. |
| 321 | 325 | ||