diff options
author | Pip Cet <pipcet@gmail.com> | 2019-07-22 02:40:35 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-07-27 14:05:46 +0300 |
commit | 357399014acacc75bd1825fb2f498f1a4be7b362 (patch) | |
tree | fbbfbca7fed181b564f5814c6941297e6f5f0372 /etc | |
parent | e310843d9dc106187d0e45ef7f0b9cd90a881eec (diff) | |
download | emacs-357399014acacc75bd1825fb2f498f1a4be7b362.tar.gz |
Use the CSS convention for #RGB colors (bug#36304)
* src/xterm.c (x_parse_color): Change interpretation of #RGB color
triplets to match CSS rather than X conventions.
* lisp/term/tty-colors.el (tty-color-standard-values): Change
interpretation of #RGB color triplets to match CSS rather than X
conventions. Allow upper-case digits. Fix rgb:R/G/B
interpretation.
* doc/emacs/display.texi (Colors): Specify the convention used for
"#RGB" color triplets.
* test/lisp/tty-colors-tests.el: New file.
* etc/NEWS: Mention the change.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -407,6 +407,12 @@ names in xref buffers. ** New variable `file-size-function' controls how file sizes are displayed. ++++ +** Emacs now interprets RGB triplets like HTML, SVG, and CSS do. + +The X convention previously used differed slightly, particularly for +RGB triplets with a single hexadecimal digit per component. + * Editing Changes in Emacs 27.1 @@ -1509,7 +1515,6 @@ automatically updates. In the buffer, you can use 's q' or 's e' to signal a thread with quit or error respectively, or get a snapshot backtrace with 'b'. - ** thingatpt.el --- |