• Eli Zaretskii's avatar
    Fix TTY colors breakage by 'clear-face-cache' · ba9b9bb4
    Eli Zaretskii authored
    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)
    ba9b9bb4
tty-colors.el 39 KB