diff options
| author | Martin Rudalics | 2008-10-29 10:56:28 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2008-10-29 10:56:28 +0000 |
| commit | 8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae (patch) | |
| tree | dbf69875146f027af97ddff8deda0dfa243c8444 /src | |
| parent | f77b11a0515b302f8ae77abfdc4e6f66b38f231b (diff) | |
| download | emacs-8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae.tar.gz emacs-8fef9de15dcfaa1fc17fd6bf8fba513bf0f21aae.zip | |
(Fwindow_height, Fdelete_window, set_window_buffer)
(Fwindow_text_height): Clarify doc-strings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 18 |
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 | ||
| 507 | DEFUN ("window-height", Fwindow_height, Swindow_height, 0, 1, 0, | 507 | DEFUN ("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. |
| 509 | WINDOW defaults to the selected window. */) | 509 | WINDOW defaults to the selected window. |
| 510 | |||
| 511 | The 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 | ||
| 1512 | DEFUN ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "", | 1514 | DEFUN ("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. |
| 1516 | WINDOW defaults to the selected window. Return nil. | ||
| 1517 | Signal 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 | |||
| 3514 | buffer (that is `window-dedicated-p' returns t for WINDOW) and does not | 3518 | buffer (that is `window-dedicated-p' returns t for WINDOW) and does not |
| 3515 | already display BUFFER-OR-NAME. | 3519 | already display BUFFER-OR-NAME. |
| 3516 | 3520 | ||
| 3517 | This function runs the hook `window-scroll-functions'. */) | 3521 | This 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. |
| 5767 | WINDOW defaults to the selected window. | 5772 | WINDOW defaults to the selected window. |
| 5768 | This doesn't include the mode-line (or header-line if any) or any | 5773 | |
| 5769 | partial-height lines in the text display area. */) | 5774 | The return value does neither include the mode line or header line, if |
| 5775 | any, nor any partial-height lines in the text display area. */) | ||
| 5770 | (window) | 5776 | (window) |
| 5771 | Lisp_Object window; | 5777 | Lisp_Object window; |
| 5772 | { | 5778 | { |