diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 06cbf8e5f04..43ea423dd9d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -557,6 +557,15 @@ use (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))). */) | |||
| 557 | return make_number (window_box_text_cols (decode_any_window (window))); | 557 | return make_number (window_box_text_cols (decode_any_window (window))); |
| 558 | } | 558 | } |
| 559 | 559 | ||
| 560 | DEFUN ("window-full-width-p", Fwindow_full_width_p, Swindow_full_width_p, 0, 1, 0, | ||
| 561 | doc: /* Return t if WINDOW is as wide as its frame. | ||
| 562 | WINDOW defaults to the selected window. */) | ||
| 563 | (window) | ||
| 564 | Lisp_Object window; | ||
| 565 | { | ||
| 566 | return WINDOW_FULL_WIDTH_P (decode_any_window (window)) ? Qt : Qnil; | ||
| 567 | } | ||
| 568 | |||
| 560 | DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, | 569 | DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, |
| 561 | doc: /* Return the number of columns by which WINDOW is scrolled from left margin. | 570 | doc: /* Return the number of columns by which WINDOW is scrolled from left margin. |
| 562 | WINDOW defaults to the selected window. */) | 571 | WINDOW defaults to the selected window. */) |
| @@ -7515,6 +7524,7 @@ The selected frame is the one whose configuration has changed. */); | |||
| 7515 | defsubr (&Swindow_buffer); | 7524 | defsubr (&Swindow_buffer); |
| 7516 | defsubr (&Swindow_height); | 7525 | defsubr (&Swindow_height); |
| 7517 | defsubr (&Swindow_width); | 7526 | defsubr (&Swindow_width); |
| 7527 | defsubr (&Swindow_full_width_p); | ||
| 7518 | defsubr (&Swindow_hscroll); | 7528 | defsubr (&Swindow_hscroll); |
| 7519 | defsubr (&Sset_window_hscroll); | 7529 | defsubr (&Sset_window_hscroll); |
| 7520 | defsubr (&Swindow_redisplay_end_trigger); | 7530 | defsubr (&Swindow_redisplay_end_trigger); |