aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorRobert Pluim2024-10-18 11:22:52 +0200
committerRobert Pluim2024-10-18 11:44:49 +0200
commit2c640e63a8a6ea9f2fbbb55ff44d7a8a0ec0f4b4 (patch)
treee2a26814f2cf5517bd241692023fbd2ae2dd5fae /doc/misc
parente5d600006e2b283923044d2c139b29dd69f5ac30 (diff)
downloademacs-2c640e63a8a6ea9f2fbbb55ff44d7a8a0ec0f4b4.tar.gz
emacs-2c640e63a8a6ea9f2fbbb55ff44d7a8a0ec0f4b4.zip
Explain tty-color-mode frame parameter more.
* doc/emacs/cmdargs.texi (Colors X): Explain that tty color support is dynamic. * doc/lispref/frames.texi (Font and Color Parameters): Explain that 'tty-color-mode' can be changed on the fly. * doc/misc/efaq.texi (Colors on a TTY): Explain how to disable 'tty-color-mode', either at startup or dynamically.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/efaq.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 8c3b81a5fe5..8a7a11071da 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -1880,6 +1880,21 @@ think that your terminal supports colors, but Emacs won't use them,
1880check the @code{termcap} entry for your display type for color-related 1880check the @code{termcap} entry for your display type for color-related
1881capabilities. 1881capabilities.
1882 1882
1883If by contrast you wish to @emph{disable} tty color support, either
1884start emacs with the @samp{--color=no} command-line option, or ensure
1885that the frame parameter @code{tty-color-mode} is @code{no}, e.g. by
1886putting the following in your init file:
1887
1888@lisp
1889(push '(tty-color-mode . no) default-frame-alist)
1890@end lisp
1891
1892To disable tty color support in the @emph{current} frame you can run:
1893
1894@lisp
1895(set-frame-parameter nil 'tty-color-mode 'no)
1896@end lisp
1897
1883The command @kbd{M-x list-colors-display} pops up a window which 1898The command @kbd{M-x list-colors-display} pops up a window which
1884exhibits all the colors Emacs knows about on the current display. 1899exhibits all the colors Emacs knows about on the current display.
1885 1900