comparison src/window.c @ 68490:36ac94b7246c

(Fother_window, Fwindow_vscroll, Fset_window_vscroll): Fix typos in docstrings.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 30 Jan 2006 16:11:29 +0000
parents 97a5b7b69235
children 3bd95f4f2941 38c49afb29d9 7432ca837c8d
comparison
equal deleted inserted replaced
68489:6d1e5d8e3112 68490:36ac94b7246c
1827 DEFUN ("other-window", Fother_window, Sother_window, 1, 2, "p", 1827 DEFUN ("other-window", Fother_window, Sother_window, 1, 2, "p",
1828 doc: /* Select the ARG'th different window on this frame. 1828 doc: /* Select the ARG'th different window on this frame.
1829 All windows on current frame are arranged in a cyclic order. 1829 All windows on current frame are arranged in a cyclic order.
1830 This command selects the window ARG steps away in that order. 1830 This command selects the window ARG steps away in that order.
1831 A negative ARG moves in the opposite order. The optional second 1831 A negative ARG moves in the opposite order. The optional second
1832 argument ALL_FRAMES has the same meaning as in `next-window', which see. */) 1832 argument ALL-FRAMES has the same meaning as in `next-window', which see. */)
1833 (arg, all_frames) 1833 (arg, all_frames)
1834 Lisp_Object arg, all_frames; 1834 Lisp_Object arg, all_frames;
1835 { 1835 {
1836 Lisp_Object window; 1836 Lisp_Object window;
1837 int i; 1837 int i;
6658 6658
6659 DEFUN ("window-vscroll", Fwindow_vscroll, Swindow_vscroll, 0, 2, 0, 6659 DEFUN ("window-vscroll", Fwindow_vscroll, Swindow_vscroll, 0, 2, 0,
6660 doc: /* Return the amount by which WINDOW is scrolled vertically. 6660 doc: /* Return the amount by which WINDOW is scrolled vertically.
6661 Use the selected window if WINDOW is nil or omitted. 6661 Use the selected window if WINDOW is nil or omitted.
6662 Normally, value is a multiple of the canonical character height of WINDOW; 6662 Normally, value is a multiple of the canonical character height of WINDOW;
6663 optional second arg PIXELS_P means value is measured in pixels. */) 6663 optional second arg PIXELS-P means value is measured in pixels. */)
6664 (window, pixels_p) 6664 (window, pixels_p)
6665 Lisp_Object window, pixels_p; 6665 Lisp_Object window, pixels_p;
6666 { 6666 {
6667 Lisp_Object result; 6667 Lisp_Object result;
6668 struct frame *f; 6668 struct frame *f;
6688 DEFUN ("set-window-vscroll", Fset_window_vscroll, Sset_window_vscroll, 6688 DEFUN ("set-window-vscroll", Fset_window_vscroll, Sset_window_vscroll,
6689 2, 3, 0, 6689 2, 3, 0,
6690 doc: /* Set amount by which WINDOW should be scrolled vertically to VSCROLL. 6690 doc: /* Set amount by which WINDOW should be scrolled vertically to VSCROLL.
6691 WINDOW nil means use the selected window. Normally, VSCROLL is a 6691 WINDOW nil means use the selected window. Normally, VSCROLL is a
6692 non-negative multiple of the canonical character height of WINDOW; 6692 non-negative multiple of the canonical character height of WINDOW;
6693 optional third arg PIXELS_P non-nil means that VSCROLL is in pixels. 6693 optional third arg PIXELS-P non-nil means that VSCROLL is in pixels.
6694 If PIXELS-P is nil, VSCROLL may have to be rounded so that it 6694 If PIXELS-P is nil, VSCROLL may have to be rounded so that it
6695 corresponds to an integral number of pixels. The return value is the 6695 corresponds to an integral number of pixels. The return value is the
6696 result of this rounding. 6696 result of this rounding.
6697 If PIXELS-P is non-nil, the return value is VSCROLL. */) 6697 If PIXELS-P is non-nil, the return value is VSCROLL. */)
6698 (window, vscroll, pixels_p) 6698 (window, vscroll, pixels_p)