]> git.eshelyaron.com Git - emacs.git/commitdiff
window.c doc fixes.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 12 Jul 2011 21:09:01 +0000 (23:09 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 12 Jul 2011 21:09:01 +0000 (23:09 +0200)
Fixes: debbugs:4199
src/ChangeLog
src/window.c

index 54637fe76fb0bf00beda18f8f117db71a2cbc293..9bae32a8a98cea6827f1cec7c0cf7104b13c43fe 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * window.c (Fset_window_start): Doc fix (bug#4199).
+       (Fset_window_hscroll): Ditto.
+
 2011-07-12  Paul Eggert  <eggert@cs.ucla.edu>
 
        Fix minor new problems caught by GCC 4.6.1.
index 154efe4a2227aa84a391adbf1ba82733f4035e13..e390c13dce0a6c097c3eed1db9c4cf5346436b4e 100644 (file)
@@ -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)