Commit 0cf34688 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

window.c doc fixes.

Fixes: debbugs:4199
parent 1539f173
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> 2011-07-12 Paul Eggert <eggert@cs.ucla.edu>
Fix minor new problems caught by GCC 4.6.1. Fix minor new problems caught by GCC 4.6.1.
......
...@@ -683,6 +683,7 @@ WINDOW must be a live window and defaults to the selected one. */) ...@@ -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, 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. 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. Return NCOL. NCOL should be zero or positive.
Note that if `automatic-hscrolling' is non-nil, you cannot scroll the Note that if `automatic-hscrolling' is non-nil, you cannot scroll the
...@@ -1410,7 +1411,7 @@ Return POS. */) ...@@ -1410,7 +1411,7 @@ Return POS. */)
DEFUN ("set-window-start", Fset_window_start, Sset_window_start, 2, 3, 0, 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. 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 Optional third arg NOFORCE non-nil inhibits next redisplay from
overriding motion of point in order to display at this exact start. */) overriding motion of point in order to display at this exact start. */)
(Lisp_Object window, Lisp_Object pos, Lisp_Object noforce) (Lisp_Object window, Lisp_Object pos, Lisp_Object noforce)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment