aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2020-06-22 18:32:01 +0300
committerEli Zaretskii2020-06-22 18:32:01 +0300
commit30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1 (patch)
treefae44fdb6ed9e62a20c0bdb047441bc55f23c771 /etc
parentbea5eb77b3170203424179274bf26b9ce70de807 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6bfecd68139..d501c2ad872 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -624,6 +624,11 @@ In order for the two functions to behave more consistently,
624length, and also supports format specifications that include a 624length, and also supports format specifications that include a
625truncating precision field, such as '%.2a'. 625truncating precision field, such as '%.2a'.
626 626
627---
628** New function 'color-values-from-color-spec'.
629This can be used to parse RGB color specs in several formats and
630convert 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