]> git.eshelyaron.com Git - emacs.git/commit
Add tests for color.el
authorSimen Heggestøyl <simenheg@gmail.com>
Thu, 7 Sep 2017 18:40:12 +0000 (20:40 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Wed, 13 Sep 2017 18:23:44 +0000 (20:23 +0200)
commite7d6c622090dd2f4c77fbd04aba89c30a75514dd
tree775683d9e552e7add0e29ea01057aebfd62d0693
parent63398071471f6cd6b006d3c35d2d83c597549e4a
Add tests for color.el

* lisp/color.el (color-name-to-rgb, color-complement): Clarify in
docstrings that RGB triplets should use four digits per component.
(color-rgb-to-hsl): Break line to avoid "Hidden behind deeper element"
warning.

* test/lisp/color-tests.el: New file.
lisp/color.el
test/lisp/color-tests.el [new file with mode: 0644]