summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-06-22 18:32:01 +0300
committerEli Zaretskii <eliz@gnu.org>2020-06-22 18:32:01 +0300
commit30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1 (patch)
treefae44fdb6ed9e62a20c0bdb047441bc55f23c771 /lisp
parentbea5eb77b3170203424179274bf26b9ce70de807 (diff)
downloademacs-30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1.tar.gz
emacs-30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1.tar.bz2
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 'lisp')
-rw-r--r--lisp/term/tty-colors.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el
index 73e2431822e..dda7fcc3691 100644
--- a/lisp/term/tty-colors.el
+++ b/lisp/term/tty-colors.el
@@ -923,7 +923,7 @@ The returned value reflects the standard Emacs definition of
COLOR (see the info node `(emacs) Colors'), regardless of whether
the terminal can display it, so the return value should be the
same regardless of what display is being used."
- (or (internal-color-values-from-color-spec color)
+ (or (color-values-from-color-spec color)
(cdr (assoc color color-name-rgb-alist))))
(defun tty-color-translate (color &optional frame)