• Mattias Engdegård's avatar
    Make color-distance symmetric and more accurate · 7e8c1a67
    Mattias Engdegård authored
    * src/xfaces.c (color_distance): Don't throw away the low 8 bits of
    the colours, and make the function symmetric (bug41544)
    (Fcolor_distance): Add caution about this not being a true metric.
    * test/src/xfaces-tests.el: New file.
    7e8c1a67
xfaces.c 213 KB