aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2009-10-11 00:01:11 +0000
committerGlenn Morris2009-10-11 00:01:11 +0000
commit9ec6f100283ffa7a507dee51176c5ed3f8a185df (patch)
tree5979da88139b1c324730dfc5c40689911cda1560 /src
parent4619ff5e681cea8b6967375425eb85c0a2ff78bf (diff)
downloademacs-9ec6f100283ffa7a507dee51176c5ed3f8a185df.tar.gz
emacs-9ec6f100283ffa7a507dee51176c5ed3f8a185df.zip
(Fframe_pixel_height): Doc fix. (Bug#4535)
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/frame.c20
2 files changed, 20 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7f04a578467..02aa2d5cd65 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12009-10-11 Glenn Morris <rgm@gnu.org>
2
3 * frame.c (Fframe_pixel_height): Doc fix. (Bug#4535)
4
12009-10-08 Jan Djärv <jan.h.d@swipnet.se> 52009-10-08 Jan Djärv <jan.h.d@swipnet.se>
2 6
3 * gtkutil.c (create_menus): Call gtk_widget_set_size_request for 7 * gtkutil.c (create_menus): Call gtk_widget_set_size_request for
diff --git a/src/frame.c b/src/frame.c
index a74a0987453..47e084eb896 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2643,10 +2643,22 @@ For a terminal screen, the value is always 1. */)
2643DEFUN ("frame-pixel-height", Fframe_pixel_height, 2643DEFUN ("frame-pixel-height", Fframe_pixel_height,
2644 Sframe_pixel_height, 0, 1, 0, 2644 Sframe_pixel_height, 0, 1, 0,
2645 doc: /* Return a FRAME's height in pixels. 2645 doc: /* Return a FRAME's height in pixels.
2646This counts only the height available for text lines, 2646If FRAME is omitted, the selected frame is used. The exact value
2647not menu bars on window-system Emacs frames. 2647of the result depends on the window-system and toolkit in use:
2648For a terminal frame, the result really gives the height in characters. 2648
2649If FRAME is omitted, the selected frame is used. */) 2649In the Gtk+ version of Emacs, it includes only any window (including
2650the minibuffer or eacho area), mode line, and header line. It does not
2651include the tool bar or menu bar.
2652
2653With the Motif or Lucid toolkits, it also includes the tool bar (but
2654not the menu bar).
2655
2656In a graphical version with no toolkit, it includes both the tool bar
2657and menu bar.
2658
2659For a text-only terminal, it includes the menu bar. In this case, the
2660result is really in characters rather than pixels (i.e., is identical
2661to `frame-height'). */)
2650 (frame) 2662 (frame)
2651 Lisp_Object frame; 2663 Lisp_Object frame;
2652{ 2664{