aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/display.texi')
-rw-r--r--doc/lispref/display.texi14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index f4092cfa7ea..6e872ad4233 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5579,9 +5579,9 @@ digit characters representing the character code in octal. (A display
5579table can specify a glyph to use instead of @samp{\}.) 5579table can specify a glyph to use instead of @samp{\}.)
5580 5580
5581@item 5581@item
5582Multibyte character codes above 256 are displayed as themselves, or as a 5582Multibyte character codes above 256 are displayed as themselves, or as
5583question mark or empty box if the terminal cannot display that 5583a question mark or a hex code or an empty box if the terminal cannot
5584character. 5584display that character.
5585@end itemize 5585@end itemize
5586 5586
5587 The usual display conventions apply even when there is a display 5587 The usual display conventions apply even when there is a display
@@ -5928,6 +5928,14 @@ selected frame). The list of possible symbols it returns is the same
5928one documented for the variable @code{window-system} above. 5928one documented for the variable @code{window-system} above.
5929@end defun 5929@end defun
5930 5930
5931 Do @emph{not} use @code{window-system} and
5932@code{initial-window-system} as predicates or boolean flag variables,
5933if you want to write code that works differently on text terminals and
5934graphic displays. That is because @code{window-system} is not a good
5935indicator of Emacs capabilities on a given display type. Instead, use
5936@code{display-graphic-p} or any of the other @code{display-*-p}
5937predicates described in @ref{Display Feature Testing}.
5938
5931@defvar window-setup-hook 5939@defvar window-setup-hook
5932This variable is a normal hook which Emacs runs after handling the 5940This variable is a normal hook which Emacs runs after handling the
5933initialization files. Emacs runs this hook after it has completed 5941initialization files. Emacs runs this hook after it has completed