1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-10 15:25:04 -07:00
emacs/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
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el
css-mode.el
dns-mode.el
enriched.el
fill.el
flyspell.el
ispell.el
less-css-mode.el
makeinfo.el
mhtml-mode.el
nroff-mode.el
page-ext.el
page.el
paragraphs.el
picture.el
po.el
refbib.el
refer.el
refill.el
reftex-auc.el
reftex-cite.el
reftex-dcr.el
reftex-global.el
reftex-index.el
reftex-parse.el
reftex-ref.el
reftex-sel.el
reftex-toc.el
reftex-vars.el
reftex.el
remember.el
rst.el
sgml-mode.el
table.el
tex-mode.el
texinfmt.el
texinfo.el
texnfo-upd.el
text-mode.el
tildify.el
two-column.el
underline.el