summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-03-03 16:05:02 +0200
committerEli Zaretskii <eliz@gnu.org>2017-03-03 16:05:02 +0200
commit7b00e956b485d8ade03c870cbdd0ae086348737b (patch)
tree52c360b2ff1ea3bd394ecbed8a208fff9edc2069 /src/keyboard.c
parent244de7b0ed3bb23e700c9edef51e413602d8720a (diff)
downloademacs-7b00e956b485d8ade03c870cbdd0ae086348737b.tar.gz
Fix color component calculations in color.el
* lisp/color.el (color-name-to-rgb): Use 16 bits per color component. (color-rgb-to-hex): Accept an optional argument DIGITS-PER-COMPONENT, defaulting to 4, and format the hexadecimal notation either for 8 or 16 bits per component. (Bug#25890) * lisp/net/shr-color.el (shr-color->hexadecimal): Call color-rgb-to-hex with the optional argument of 2, to match color processing on the Web.
Diffstat (limited to 'src/keyboard.c')
0 files changed, 0 insertions, 0 deletions