aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-12-20 13:48:32 +0000
committerEli Zaretskii2008-12-20 13:48:32 +0000
commit77bb04766a65e20947979127779efd878b2eaea1 (patch)
tree43c23a7832260df2099660058f2469b5fb8775df
parentac0503eccc82a85f04f1c54e75c71858d1cba572 (diff)
downloademacs-77bb04766a65e20947979127779efd878b2eaea1.tar.gz
emacs-77bb04766a65e20947979127779efd878b2eaea1.zip
(Window Systems): Document `window-system' the function. The variable
`window-system' is now frame-local.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi21
2 files changed, 19 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 9b1b646f7f7..438d825b3bd 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12008-12-20 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Window Systems): Document `window-system' the
4 function. The variable `window-system' is now frame-local.
5
12008-12-19 Martin Rudalics <rudalics@gmx.at> 62008-12-19 Martin Rudalics <rudalics@gmx.at>
2 7
3 * windows.texi (Windows): Rewrite description of 8 * windows.texi (Windows): Rewrite description of
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 1a8520f3855..5995d4cbbaa 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5644,22 +5644,29 @@ differently. An Emacs frame is a single window as far as X is
5644concerned; the individual Emacs windows are not known to X at all. 5644concerned; the individual Emacs windows are not known to X at all.
5645 5645
5646@defvar window-system 5646@defvar window-system
5647This variable tells Lisp programs what window system Emacs is running 5647This frame-local variable tells Lisp programs what window system Emacs is using
5648under. The possible values are 5648for displaying the frame. The possible values are
5649 5649
5650@table @code 5650@table @code
5651@item x 5651@item x
5652@cindex X Window System 5652@cindex X Window System
5653Emacs is displaying using X. 5653Emacs is displaying the frame using X.
5654@item pc
5655Emacs is displaying using MS-DOS.
5656@item w32 5654@item w32
5657Emacs is displaying using Windows. 5655Emacs is displaying the frame using native MS-Windows GUI.
5656@item pc
5657Emacs is displaying the frame using MS-DOS direct screen writes.
5658@item nil 5658@item nil
5659Emacs is using a character-based terminal. 5659Emacs is displaying the frame on a character-based terminal.
5660@end table 5660@end table
5661@end defvar 5661@end defvar
5662 5662
5663@defun window-system &optional frame
5664This function returns a symbol whose name tells what window system is
5665used for displaying @var{frame} (which defaults to the currently
5666selected frame). The list of possible symbols it returns is the same
5667one documented for the variable @code{window-system} above.
5668@end defun
5669
5663@defvar window-setup-hook 5670@defvar window-setup-hook
5664This variable is a normal hook which Emacs runs after handling the 5671This variable is a normal hook which Emacs runs after handling the
5665initialization files. Emacs runs this hook after it has completed 5672initialization files. Emacs runs this hook after it has completed