]> git.eshelyaron.com Git - emacs.git/commit
Fix color-lightening and darkening calculations
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Nov 2024 16:15:25 +0000 (18:15 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 13:28:48 +0000 (14:28 +0100)
commit2b45c1f2749523ac1572c7d91de1d3b650b6c660
tree9d94c10b81bcc9f19b8189e66a403da962c990f7
parent28683d6f2add573e1b43b98b8b9c548816c581ac
Fix color-lightening and darkening calculations

* lisp/color.el (color-lighten-hsl): Fix calculations (bug#74055).

* test/lisp/color-tests.el (color-tests-lighten-hsl)
(color-tests-lighten-name, color-tests-darken-hsl)
(color-tests-darken-name): Adjust test results.

(cherry picked from commit 435d7d4292e6803405c1ea65c73693f20eea2a58)
lisp/color.el
test/lisp/color-tests.el