From: Lars Magne Ingebrigtsen Date: Tue, 12 Jul 2011 21:09:01 +0000 (+0200) Subject: window.c doc fixes. X-Git-Tag: emacs-pretest-24.0.90~104^2~343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0cf346886f0ac320e92e3b5df32508bc6fcfe576;p=emacs.git window.c doc fixes. Fixes: debbugs:4199 --- diff --git a/src/ChangeLog b/src/ChangeLog index 54637fe76fb..9bae32a8a98 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-12 Lars Magne Ingebrigtsen + + * window.c (Fset_window_start): Doc fix (bug#4199). + (Fset_window_hscroll): Ditto. + 2011-07-12 Paul Eggert Fix minor new problems caught by GCC 4.6.1. diff --git a/src/window.c b/src/window.c index 154efe4a222..e390c13dce0 100644 --- a/src/window.c +++ b/src/window.c @@ -683,6 +683,7 @@ WINDOW must be a live window and defaults to the selected one. */) DEFUN ("set-window-hscroll", Fset_window_hscroll, Sset_window_hscroll, 2, 2, 0, doc: /* Set number of columns WINDOW is scrolled from left margin to NCOL. +If WINDOW is nil, the selected window is used. Return NCOL. NCOL should be zero or positive. Note that if `automatic-hscrolling' is non-nil, you cannot scroll the @@ -1410,7 +1411,7 @@ Return POS. */) DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0, doc: /* Make display in WINDOW start at position POS in WINDOW's buffer. -WINDOW defaults to the selected window. Return POS. +If WINDOW is nil, the selected window is used. Return POS. Optional third arg NOFORCE non-nil inhibits next redisplay from overriding motion of point in order to display at this exact start. */) (Lisp_Object window, Lisp_Object pos, Lisp_Object noforce)