diff options
| author | Mattias EngdegÄrd | 2020-06-08 13:06:51 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-06-08 13:24:29 +0200 |
| commit | 64e25cde324b2e270acf82958abb59018e67f841 (patch) | |
| tree | 8648c8efadfa1d9208533094f3ea0e8ece95482e /lisp/progmodes/python.el | |
| parent | 46304c474c433a98ad55198e1fbdb0b1136645c1 (diff) | |
| download | emacs-64e25cde324b2e270acf82958abb59018e67f841.tar.gz emacs-64e25cde324b2e270acf82958abb59018e67f841.zip | |
More robust NS hex colour string parsing
Invalid arguments to color-values, such as "#abcdefg" or "#1234", or
valid ones like "#111222333", should not yield nonsense values.
* src/nsterm.m (ns_get_color):
Only accept "#RGB" strings with 1-4 digits per components, equal number
of digits each, and no trailing characters. Parse 12-bit colours
correctly.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions