diff options
| author | Glenn Morris | 2009-10-11 00:07:05 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-10-11 00:07:05 +0000 |
| commit | 5feb0b73eb5d589faf5c961eac86e8dbef67b3ba (patch) | |
| tree | 62ef8f0d3e927cd67f300c6102797ea6dec32bfb | |
| parent | 9ec6f100283ffa7a507dee51176c5ed3f8a185df (diff) | |
| download | emacs-5feb0b73eb5d589faf5c961eac86e8dbef67b3ba.tar.gz emacs-5feb0b73eb5d589faf5c961eac86e8dbef67b3ba.zip | |
(Size and Position): Clarify what is included in the frame height. (Bug#4535)
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 20 |
2 files changed, 18 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 6f9ef826f3f..bacb0bfb537 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-10-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * frames.texi (Size and Position): Clarify what is included in the frame | ||
| 4 | height. (Bug#4535) | ||
| 5 | |||
| 1 | 2009-10-10 Glenn Morris <rgm@gnu.org> | 6 | 2009-10-10 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * windows.texi (Size of Window): The relationship between window and | 8 | * windows.texi (Size of Window): The relationship between window and |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index c65a0a6c707..0ac25352bba 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | @c -*-texinfo-*- | 1 | @c -*-texinfo-*- |
| 2 | @c This is part of the GNU Emacs Lisp Reference Manual. | 2 | @c This is part of the GNU Emacs Lisp Reference Manual. |
| 3 | @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, | 3 | @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, |
| 4 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | @c Free Software Foundation, Inc. | ||
| 5 | @c See the file elisp.texi for copying conditions. | 6 | @c See the file elisp.texi for copying conditions. |
| 6 | @setfilename ../../info/frames | 7 | @setfilename ../../info/frames |
| 7 | @node Frames, Positions, Windows, Top | 8 | @node Frames, Positions, Windows, Top |
| @@ -980,12 +981,17 @@ selected frame. | |||
| 980 | @defunx frame-pixel-width &optional frame | 981 | @defunx frame-pixel-width &optional frame |
| 981 | These functions return the height and width of the main display area | 982 | These functions return the height and width of the main display area |
| 982 | of @var{frame}, measured in pixels. If you don't supply @var{frame}, | 983 | of @var{frame}, measured in pixels. If you don't supply @var{frame}, |
| 983 | they use the selected frame. | 984 | they use the selected frame. For a text-only terminal, the results are |
| 984 | 985 | in characters rather than pixels. | |
| 985 | These values include the internal borders, and windows' scroll bars | 986 | |
| 986 | and fringes (which belong to individual windows, not to the frame | 987 | These values include the internal borders, and windows' scroll bars and |
| 987 | itself), but do not include menu bars or tool bars (except when using | 988 | fringes (which belong to individual windows, not to the frame itself). |
| 988 | X without an X toolkit). | 989 | The exact value of the heights depends on the window-system and toolkit |
| 990 | in use. With Gtk+, the height does not include any tool bar or menu | ||
| 991 | bar. With the Motif or Lucid toolkits, it includes the tool bar but | ||
| 992 | not the menu bar. In a graphical version with no toolkit, it includes | ||
| 993 | both the tool bar and menu bar. For a text-only terminal, the result | ||
| 994 | includes the menu bar. | ||
| 989 | @end defun | 995 | @end defun |
| 990 | 996 | ||
| 991 | @defun frame-char-height &optional frame | 997 | @defun frame-char-height &optional frame |