1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
emacs/test/lisp/textmodes
Simen Heggestøyl 69a30e8b87 Shorten CSS hex colors when possible
* lisp/textmodes/css-mode.el (css--format-hex): New function for
shortening CSS hex colors when possible.
(css--named-color-to-hex, css--rgb-to-named-color-or-hex): Use it.

* test/lisp/textmodes/css-mode-tests.el (css-test-format-hex): New
tests for 'css--format-hex'.
(css-test-named-color-to-hex, css-test-cycle-color-format): Adjust for
the changes to 'css--named-color-to-hex' and
'css--rgb-to-named-color-or-hex'.
2018-01-28 15:38:27 +01:00
..
css-mode-tests.el Shorten CSS hex colors when possible 2018-01-28 15:38:27 +01:00
dns-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
fill-tests.el ; * test/lisp/textmodes/fill-tests.el: Fix copyright years. 2018-01-26 19:18:23 -08:00
mhtml-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
reftex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sgml-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tildify-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00