diff options
Diffstat (limited to 'doc/lispref/display.texi')
| -rw-r--r-- | doc/lispref/display.texi | 14 |
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 | |||
| 5579 | table can specify a glyph to use instead of @samp{\}.) | 5579 | table can specify a glyph to use instead of @samp{\}.) |
| 5580 | 5580 | ||
| 5581 | @item | 5581 | @item |
| 5582 | Multibyte character codes above 256 are displayed as themselves, or as a | 5582 | Multibyte character codes above 256 are displayed as themselves, or as |
| 5583 | question mark or empty box if the terminal cannot display that | 5583 | a question mark or a hex code or an empty box if the terminal cannot |
| 5584 | character. | 5584 | display 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 | |||
| 5928 | one documented for the variable @code{window-system} above. | 5928 | one 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, | ||
| 5933 | if you want to write code that works differently on text terminals and | ||
| 5934 | graphic displays. That is because @code{window-system} is not a good | ||
| 5935 | indicator of Emacs capabilities on a given display type. Instead, use | ||
| 5936 | @code{display-graphic-p} or any of the other @code{display-*-p} | ||
| 5937 | predicates described in @ref{Display Feature Testing}. | ||
| 5938 | |||
| 5931 | @defvar window-setup-hook | 5939 | @defvar window-setup-hook |
| 5932 | This variable is a normal hook which Emacs runs after handling the | 5940 | This variable is a normal hook which Emacs runs after handling the |
| 5933 | initialization files. Emacs runs this hook after it has completed | 5941 | initialization files. Emacs runs this hook after it has completed |