Mercurial > emacs
changeset 75753:5e34b32b9b4c
(Fwindow_height, Fwindow_hscroll)
(Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start)
(Fwindow_end, Fwindow_display_table, Fwindow_text_height):
Document the effect of WINDOW arg being nil.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 10 Feb 2007 11:57:10 +0000 |
parents | 5c8b0041ee8a |
children | 94f458644cb1 |
files | src/window.c |
diffstat | 1 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Sat Feb 10 11:21:30 2007 +0000 +++ b/src/window.c Sat Feb 10 11:57:10 2007 +0000 @@ -537,7 +537,8 @@ } DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, - doc: /* Return the number of lines in WINDOW (including its mode line). */) + doc: /* Return the number of lines in WINDOW (including its mode line). +WINDOW defaults to the selected window. */) (window) Lisp_Object window; { @@ -556,7 +557,8 @@ } DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, - doc: /* Return the number of columns by which WINDOW is scrolled from left margin. */) + doc: /* Return the number of columns by which WINDOW is scrolled from left margin. +WINDOW defaults to the selected window. */) (window) Lisp_Object window; { @@ -589,6 +591,7 @@ DEFUN ("window-redisplay-end-trigger", Fwindow_redisplay_end_trigger, Swindow_redisplay_end_trigger, 0, 1, 0, doc: /* Return WINDOW's redisplay end trigger value. +WINDOW defaults to the selected window. See `set-window-redisplay-end-trigger' for more information. */) (window) Lisp_Object window; @@ -1111,6 +1114,8 @@ DEFUN ("window-point", Fwindow_point, Swindow_point, 0, 1, 0, doc: /* Return current value of point in WINDOW. +WINDOW defaults to the selected window. + For a nonselected window, this is the value point would have if that window were selected. @@ -1132,6 +1137,7 @@ DEFUN ("window-start", Fwindow_start, Swindow_start, 0, 1, 0, doc: /* Return position at which display currently starts in WINDOW. +WINDOW defaults to the selected window. This is updated by redisplay or by calling `set-window-start'. */) (window) Lisp_Object window; @@ -1152,6 +1158,7 @@ DEFUN ("window-end", Fwindow_end, Swindow_end, 0, 2, 0, doc: /* Return position at which display currently ends in WINDOW. +WINDOW defaults to the selected window. This is updated by redisplay, when it runs to completion. Simply changing the buffer text or setting `window-start' does not update this value. @@ -1302,7 +1309,8 @@ DEFUN ("window-display-table", Fwindow_display_table, Swindow_display_table, 0, 1, 0, - doc: /* Return the display-table that WINDOW is using. */) + doc: /* Return the display-table that WINDOW is using. +WINDOW defaults to the selected window. */) (window) Lisp_Object window; { @@ -5896,6 +5904,7 @@ DEFUN ("window-text-height", Fwindow_text_height, Swindow_text_height, 0, 1, 0, doc: /* Return the height in lines of the text display area of WINDOW. +WINDOW defaults to the selected window. This doesn't include the mode-line (or header-line if any) or any partial-height lines in the text display area. */) (window)