]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fframe_pixel_height): Doc fix. (Bug#4535)
authorGlenn Morris <rgm@gnu.org>
Sun, 11 Oct 2009 00:01:11 +0000 (00:01 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 11 Oct 2009 00:01:11 +0000 (00:01 +0000)
src/ChangeLog
src/frame.c

index 7f04a578467ffba344aa155ef737f2b2f3d40668..02aa2d5cd6578a30dadbfad71ad112e88b6c7e5c 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-11  Glenn Morris  <rgm@gnu.org>
+
+       * frame.c (Fframe_pixel_height): Doc fix.  (Bug#4535)
+
 2009-10-08  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (create_menus): Call gtk_widget_set_size_request for
index a74a09874537a4fced0be34eaf293d55db3b66f0..47e084eb896495d6e1e359add7615151200c4c37 100644 (file)
@@ -2643,10 +2643,22 @@ For a terminal screen, the value is always 1.  */)
 DEFUN ("frame-pixel-height", Fframe_pixel_height,
        Sframe_pixel_height, 0, 1, 0,
        doc: /* Return a FRAME's height in pixels.
-This counts only the height available for text lines,
-not menu bars on window-system Emacs frames.
-For a terminal frame, the result really gives the height in characters.
-If FRAME is omitted, the selected frame is used.  */)
+If FRAME is omitted, the selected frame is used.  The exact value
+of the result depends on the window-system and toolkit in use:
+
+In the Gtk+ version of Emacs, it includes only any window (including
+the minibuffer or eacho area), mode line, and header line.  It does not
+include the tool bar or menu bar.
+
+With the Motif or Lucid toolkits, it also includes the tool bar (but
+not the menu bar).
+
+In a graphical version with no toolkit, it includes both the tool bar
+and menu bar.
+
+For a text-only terminal, it includes the menu bar.  In this case, the
+result is really in characters rather than pixels (i.e., is identical
+to `frame-height'). */)
      (frame)
      Lisp_Object frame;
 {