diff options
| author | Mattias EngdegÄrd | 2020-06-06 11:23:48 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-06-07 10:37:27 +0200 |
| commit | 9fc935f1225f75eb36091060b02a583cf32ff30c (patch) | |
| tree | ff19d0500e6f7d4c4a20622b17b87f8ad3ea8e7b /doc | |
| parent | 788cd6d8b98c0e7750e478ae84e580f29576b5ff (diff) | |
| download | emacs-9fc935f1225f75eb36091060b02a583cf32ff30c.tar.gz 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 'doc')
| -rw-r--r-- | doc/lispref/frames.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 6bf5db2aa1d..966f620558b 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -3975,11 +3975,11 @@ If @var{color} is not defined, the value is @code{nil}. | |||
| 3975 | (color-values "black") | 3975 | (color-values "black") |
| 3976 | @result{} (0 0 0) | 3976 | @result{} (0 0 0) |
| 3977 | (color-values "white") | 3977 | (color-values "white") |
| 3978 | @result{} (65280 65280 65280) | 3978 | @result{} (65535 65535 65535) |
| 3979 | (color-values "red") | 3979 | (color-values "red") |
| 3980 | @result{} (65280 0 0) | 3980 | @result{} (65535 0 0) |
| 3981 | (color-values "pink") | 3981 | (color-values "pink") |
| 3982 | @result{} (65280 49152 51968) | 3982 | @result{} (65535 49344 52171) |
| 3983 | (color-values "hungry") | 3983 | (color-values "hungry") |
| 3984 | @result{} nil | 3984 | @result{} nil |
| 3985 | @end example | 3985 | @end example |