summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/regexp-opt-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-06-08 13:06:51 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-06-08 13:24:29 +0200
commit64e25cde324b2e270acf82958abb59018e67f841 (patch)
tree8648c8efadfa1d9208533094f3ea0e8ece95482e /test/lisp/emacs-lisp/regexp-opt-tests.el
parent46304c474c433a98ad55198e1fbdb0b1136645c1 (diff)
downloademacs-64e25cde324b2e270acf82958abb59018e67f841.tar.gz
emacs-64e25cde324b2e270acf82958abb59018e67f841.tar.bz2
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 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions