diff options
| author | Eli Zaretskii | 2020-06-22 18:32:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-06-22 18:32:01 +0300 |
| commit | 30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1 (patch) | |
| tree | fae44fdb6ed9e62a20c0bdb047441bc55f23c771 /etc | |
| parent | bea5eb77b3170203424179274bf26b9ce70de807 (diff) | |
| download | emacs-30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1.tar.gz emacs-30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1.zip | |
Minor improvements as followup to recent RGB string-parsing change
* src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
(Fcolor_values_from_color_spec): ...this. Callers changed.
Rename the argument to SPEC and improve the doc string.
(parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
Improve commentary.
(parse_color_spec): Rename the argument S to SPEC.
* etc/NEWS: Mention 'color-values-from-color-spec'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -624,6 +624,11 @@ In order for the two functions to behave more consistently, | |||
| 624 | length, and also supports format specifications that include a | 624 | length, and also supports format specifications that include a |
| 625 | truncating precision field, such as '%.2a'. | 625 | truncating precision field, such as '%.2a'. |
| 626 | 626 | ||
| 627 | --- | ||
| 628 | ** New function 'color-values-from-color-spec'. | ||
| 629 | This can be used to parse RGB color specs in several formats and | ||
| 630 | convert them to a list (R G B) of primary color values. | ||
| 631 | |||
| 627 | 632 | ||
| 628 | * Changes in Emacs 28.1 on Non-Free Operating Systems | 633 | * Changes in Emacs 28.1 on Non-Free Operating Systems |
| 629 | 634 | ||