]> git.eshelyaron.com Git - emacs.git/commit
Fix TTY colors breakage by 'clear-face-cache'
authorEli Zaretskii <eliz@gnu.org>
Thu, 19 Jul 2018 17:44:32 +0000 (20:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 19 Jul 2018 17:44:32 +0000 (20:44 +0300)
commitba9b9bb4accda749be5a3803569ef1dc2de6919a
treec33a9aafdfb8938658cbe990a36383a8f7d14930
parentf56ad422c42aabc24e92ea13012692d581b7efbe
Fix TTY colors breakage by 'clear-face-cache'

Without examining the right frame, 'tty-color-24bit' was erroneously
treating a GUI frame as a 24-bit TTY frame.
* lisp/term/tty-colors.el (tty-color-24bit): Accept optional
argument DISPLAY and pass it to display-color-cells.  Doc fix.
(tty-color-define, tty-color-desc): Pass the FRAME argument to
tty-color-24bit.  (Bug#32072)
lisp/term/tty-colors.el