summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-11-11 16:55:11 +0200
committerEli Zaretskii <eliz@gnu.org>2021-11-11 16:55:11 +0200
commit386289bdc8461898b05f318b77e0bedf2509537d (patch)
tree4303c0f78e17629a66cbd99c3c0620994c64fb91 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
parentd75558f11c802dddc9b173f85b1c07aff7c9c3bd (diff)
downloademacs-386289bdc8461898b05f318b77e0bedf2509537d.tar.gz
emacs-386289bdc8461898b05f318b77e0bedf2509537d.tar.bz2
emacs-386289bdc8461898b05f318b77e0bedf2509537d.zip
Fix 8-color PuTTY -nw sessions broken by a recent commit
* src/term.c (init_tty): Fix the change which introduced support for the terminfo Tc flag. The code as installed broke colors in PuTTY -nw sessions, because 'tigetflag' returned -1, which is non-zero, so it was treated as the sign that true color is supported. But if the value returned by 'tigetflag' is -1, it means the capability is not a boolean one, so that's not to be used as a valid support for 24-bit color. (Bug#44950)
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions