diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-06-06 11:23:48 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-06-07 10:37:27 +0200 |
commit | 9fc935f1225f75eb36091060b02a583cf32ff30c (patch) | |
tree | ff19d0500e6f7d4c4a20622b17b87f8ad3ea8e7b /lisp/faces.el | |
parent | 788cd6d8b98c0e7750e478ae84e580f29576b5ff (diff) | |
download | emacs-9fc935f1225f75eb36091060b02a583cf32ff30c.tar.gz emacs-9fc935f1225f75eb36091060b02a583cf32ff30c.tar.bz2 emacs-9fc935f1225f75eb36091060b02a583cf32ff30c.zip |
Use 65535 as color-values scale value in the NS backend
* src/nsfns.m (Fxw_color_values): Scale with 65535 instead of 65280, for
uniformity with other backends.
* lisp/faces.el (color-values): Update doc string.
* doc/lispref/frames.texi (Color Names): Update examples.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index e707f6f4b6e..f4a9dedd799 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1822,7 +1822,7 @@ COLOR should be a string naming a color (e.g. \"white\"), or a string specifying a color's RGB components (e.g. \"#ff12ec\"). Return a list of three integers, (RED GREEN BLUE), each between 0 -and either 65280 or 65535 (the maximum depends on the system). +and 65535 inclusive. Use `color-name-to-rgb' if you want RGB floating-point values normalized to 1.0. |