aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi8
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 @@
12010-10-22 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Window Systems): Deprecate use of window-system as
4 a predicate.
5
12010-09-05 Alexander Klimov <alserkli@inbox.ru> (tiny change) 62010-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
5878one documented for the variable @code{window-system} above. 5878one 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,
5883if you want to write code that works differently on text terminals and
5884graphic displays. That is because @code{window-system} is not a good
5885indicator of Emacs capabilities on a given display type. Instead, use
5886@code{display-graphic-p} or any of the other @code{display-*-p}
5887predicates described in @ref{Display Feature Testing}.
5888
5881@defvar window-setup-hook 5889@defvar window-setup-hook
5882This variable is a normal hook which Emacs runs after handling the 5890This variable is a normal hook which Emacs runs after handling the
5883initialization files. Emacs runs this hook after it has completed 5891initialization files. Emacs runs this hook after it has completed