diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 2aca9fce5bf..ccbbe1b9c81 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-22 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Window Systems): Deprecate use of window-system as | ||
| 4 | a predicate. | ||
| 5 | |||
| 1 | 2010-09-05 Alexander Klimov <alserkli@inbox.ru> (tiny change) | 6 | 2010-09-05 Alexander Klimov <alserkli@inbox.ru> (tiny change) |
| 2 | 7 | ||
| 3 | * files.texi (Directory Names): Use \` rather than ^. | 8 | * files.texi (Directory Names): Use \` rather than ^. |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 71680c56821..ba4cfca0854 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -5878,6 +5878,14 @@ selected frame). The list of possible symbols it returns is the same | |||
| 5878 | one documented for the variable @code{window-system} above. | 5878 | one documented for the variable @code{window-system} above. |
| 5879 | @end defun | 5879 | @end defun |
| 5880 | 5880 | ||
| 5881 | Do @emph{not} use @code{window-system} and | ||
| 5882 | @code{initial-window-system} as predicates or boolean flag variables, | ||
| 5883 | if you want to write code that works differently on text terminals and | ||
| 5884 | graphic displays. That is because @code{window-system} is not a good | ||
| 5885 | indicator of Emacs capabilities on a given display type. Instead, use | ||
| 5886 | @code{display-graphic-p} or any of the other @code{display-*-p} | ||
| 5887 | predicates described in @ref{Display Feature Testing}. | ||
| 5888 | |||
| 5881 | @defvar window-setup-hook | 5889 | @defvar window-setup-hook |
| 5882 | This variable is a normal hook which Emacs runs after handling the | 5890 | This variable is a normal hook which Emacs runs after handling the |
| 5883 | initialization files. Emacs runs this hook after it has completed | 5891 | initialization files. Emacs runs this hook after it has completed |