diff options
| author | Glenn Morris | 2009-10-11 00:01:11 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-10-11 00:01:11 +0000 |
| commit | 9ec6f100283ffa7a507dee51176c5ed3f8a185df (patch) | |
| tree | 5979da88139b1c324730dfc5c40689911cda1560 /src | |
| parent | 4619ff5e681cea8b6967375425eb85c0a2ff78bf (diff) | |
| download | emacs-9ec6f100283ffa7a507dee51176c5ed3f8a185df.tar.gz emacs-9ec6f100283ffa7a507dee51176c5ed3f8a185df.zip | |
(Fframe_pixel_height): Doc fix. (Bug#4535)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/frame.c | 20 |
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 @@ | |||
| 1 | 2009-10-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * frame.c (Fframe_pixel_height): Doc fix. (Bug#4535) | ||
| 4 | |||
| 1 | 2009-10-08 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2009-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. */) | |||
| 2643 | DEFUN ("frame-pixel-height", Fframe_pixel_height, | 2643 | DEFUN ("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. |
| 2646 | This counts only the height available for text lines, | 2646 | If FRAME is omitted, the selected frame is used. The exact value |
| 2647 | not menu bars on window-system Emacs frames. | 2647 | of the result depends on the window-system and toolkit in use: |
| 2648 | For a terminal frame, the result really gives the height in characters. | 2648 | |
| 2649 | If FRAME is omitted, the selected frame is used. */) | 2649 | In the Gtk+ version of Emacs, it includes only any window (including |
| 2650 | the minibuffer or eacho area), mode line, and header line. It does not | ||
| 2651 | include the tool bar or menu bar. | ||
| 2652 | |||
| 2653 | With the Motif or Lucid toolkits, it also includes the tool bar (but | ||
| 2654 | not the menu bar). | ||
| 2655 | |||
| 2656 | In a graphical version with no toolkit, it includes both the tool bar | ||
| 2657 | and menu bar. | ||
| 2658 | |||
| 2659 | For a text-only terminal, it includes the menu bar. In this case, the | ||
| 2660 | result is really in characters rather than pixels (i.e., is identical | ||
| 2661 | to `frame-height'). */) | ||
| 2650 | (frame) | 2662 | (frame) |
| 2651 | Lisp_Object frame; | 2663 | Lisp_Object frame; |
| 2652 | { | 2664 | { |