diff options
| author | Eli Zaretskii | 2008-12-20 13:48:32 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-12-20 13:48:32 +0000 |
| commit | 77bb04766a65e20947979127779efd878b2eaea1 (patch) | |
| tree | 43c23a7832260df2099660058f2469b5fb8775df | |
| parent | ac0503eccc82a85f04f1c54e75c71858d1cba572 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 21 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-12-19 Martin Rudalics <rudalics@gmx.at> | 6 | 2008-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 | |||
| 5644 | concerned; the individual Emacs windows are not known to X at all. | 5644 | concerned; the individual Emacs windows are not known to X at all. |
| 5645 | 5645 | ||
| 5646 | @defvar window-system | 5646 | @defvar window-system |
| 5647 | This variable tells Lisp programs what window system Emacs is running | 5647 | This frame-local variable tells Lisp programs what window system Emacs is using |
| 5648 | under. The possible values are | 5648 | for 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 |
| 5653 | Emacs is displaying using X. | 5653 | Emacs is displaying the frame using X. |
| 5654 | @item pc | ||
| 5655 | Emacs is displaying using MS-DOS. | ||
| 5656 | @item w32 | 5654 | @item w32 |
| 5657 | Emacs is displaying using Windows. | 5655 | Emacs is displaying the frame using native MS-Windows GUI. |
| 5656 | @item pc | ||
| 5657 | Emacs is displaying the frame using MS-DOS direct screen writes. | ||
| 5658 | @item nil | 5658 | @item nil |
| 5659 | Emacs is using a character-based terminal. | 5659 | Emacs 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 | ||
| 5664 | This function returns a symbol whose name tells what window system is | ||
| 5665 | used for displaying @var{frame} (which defaults to the currently | ||
| 5666 | selected frame). The list of possible symbols it returns is the same | ||
| 5667 | one documented for the variable @code{window-system} above. | ||
| 5668 | @end defun | ||
| 5669 | |||
| 5663 | @defvar window-setup-hook | 5670 | @defvar window-setup-hook |
| 5664 | This variable is a normal hook which Emacs runs after handling the | 5671 | This variable is a normal hook which Emacs runs after handling the |
| 5665 | initialization files. Emacs runs this hook after it has completed | 5672 | initialization files. Emacs runs this hook after it has completed |