aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMartin Rudalics2008-10-29 10:56:28 +0000
committerMartin Rudalics2008-10-29 10:56:28 +0000
commit8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae (patch)
treedbf69875146f027af97ddff8deda0dfa243c8444 /src/window.c
parentf77b11a0515b302f8ae77abfdc4e6f66b38f231b (diff)
downloademacs-8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae.tar.gz
emacs-8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae.zip
(Fwindow_height, Fdelete_window, set_window_buffer)
(Fwindow_text_height): Clarify doc-strings.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c
index 4901828c280..c01dbf0232b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -505,8 +505,10 @@ WINDOW defaults to the selected window. */)
505} 505}
506 506
507DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, 507DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0,
508 doc: /* Return the number of lines in WINDOW (including its mode line). 508 doc: /* Return the number of lines in WINDOW.
509WINDOW defaults to the selected window. */) 509WINDOW defaults to the selected window.
510
511The return value includes WINDOW's mode line and header line, if any. */)
510 (window) 512 (window)
511 Lisp_Object window; 513 Lisp_Object window;
512{ 514{
@@ -1510,7 +1512,9 @@ children be children of that parent instead. ***/
1510} 1512}
1511 1513
1512DEFUN ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "", 1514DEFUN ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "",
1513 doc: /* Remove WINDOW from the display. Default is selected window. */) 1515 doc: /* Remove WINDOW from its frame.
1516WINDOW defaults to the selected window. Return nil.
1517Signal an error when WINDOW is the only window on its frame. */)
1514 (window) 1518 (window)
1515 register Lisp_Object window; 1519 register Lisp_Object window;
1516{ 1520{
@@ -3514,7 +3518,8 @@ This function throws an error when WINDOW is strongly dedicated to its
3514buffer (that is `window-dedicated-p' returns t for WINDOW) and does not 3518buffer (that is `window-dedicated-p' returns t for WINDOW) and does not
3515already display BUFFER-OR-NAME. 3519already display BUFFER-OR-NAME.
3516 3520
3517This function runs the hook `window-scroll-functions'. */) 3521This function runs `window-scroll-functions' before running
3522`window-configuration-change-hook'. */)
3518 (window, buffer_or_name, keep_margins) 3523 (window, buffer_or_name, keep_margins)
3519 register Lisp_Object window, buffer_or_name, keep_margins; 3524 register Lisp_Object window, buffer_or_name, keep_margins;
3520{ 3525{
@@ -5765,8 +5770,9 @@ DEFUN ("window-text-height", Fwindow_text_height, Swindow_text_height,
5765 0, 1, 0, 5770 0, 1, 0,
5766 doc: /* Return the height in lines of the text display area of WINDOW. 5771 doc: /* Return the height in lines of the text display area of WINDOW.
5767WINDOW defaults to the selected window. 5772WINDOW defaults to the selected window.
5768This doesn't include the mode-line (or header-line if any) or any 5773
5769partial-height lines in the text display area. */) 5774The return value does neither include the mode line or header line, if
5775any, nor any partial-height lines in the text display area. */)
5770 (window) 5776 (window)
5771 Lisp_Object window; 5777 Lisp_Object window;
5772{ 5778{