diff options
| author | Juanma Barranquero | 2010-07-27 04:10:05 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-07-27 04:10:05 +0200 |
| commit | 0ed082fedf31241b54ef2294c29c4880a7472e0e (patch) | |
| tree | 096e3bcc109e439b48fb299bae744d58f3d09377 /src/window.c | |
| parent | aa2d4bd3438df0855c168c960e03d1f8ea25ae71 (diff) | |
| parent | 4ce5a4ccd4cca6dcdc6d8bafa8cfaea1986e7e6e (diff) | |
| download | emacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.tar.gz emacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.zip | |
Merge from emacs-23
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 89563112628..662b587150d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -508,7 +508,10 @@ DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, | |||
| 508 | doc: /* Return the number of lines in WINDOW. | 508 | doc: /* Return the number of lines in WINDOW. |
| 509 | WINDOW defaults to the selected window. | 509 | WINDOW defaults to the selected window. |
| 510 | 510 | ||
| 511 | The return value includes WINDOW's mode line and header line, if any. */) | 511 | The return value includes WINDOW's mode line and header line, if any. |
| 512 | |||
| 513 | Note: The function does not take into account the value of `line-spacing' | ||
| 514 | when calculating the number of lines in WINDOW. */) | ||
| 512 | (Lisp_Object window) | 515 | (Lisp_Object window) |
| 513 | { | 516 | { |
| 514 | return decode_any_window (window)->total_lines; | 517 | return decode_any_window (window)->total_lines; |