aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorJuanma Barranquero2010-07-27 04:10:05 +0200
committerJuanma Barranquero2010-07-27 04:10:05 +0200
commit0ed082fedf31241b54ef2294c29c4880a7472e0e (patch)
tree096e3bcc109e439b48fb299bae744d58f3d09377 /src/window.c
parentaa2d4bd3438df0855c168c960e03d1f8ea25ae71 (diff)
parent4ce5a4ccd4cca6dcdc6d8bafa8cfaea1986e7e6e (diff)
downloademacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.tar.gz
emacs-0ed082fedf31241b54ef2294c29c4880a7472e0e.zip
Merge from emacs-23
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
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.
509WINDOW defaults to the selected window. 509WINDOW defaults to the selected window.
510 510
511The return value includes WINDOW's mode line and header line, if any. */) 511The return value includes WINDOW's mode line and header line, if any.
512
513Note: The function does not take into account the value of `line-spacing'
514when 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;