Go to the first, previous, next, last section, table of contents.


Line Movement

Function: next-line &optional count pos
Alter and return pos (or a copy of the cursor position) so that it points count (or one) lines forwards, the column component is not changed.

If count is negative (i.e. go backwards) and the resulting line number is less than zero nil is returned.

(next-line 2 (pos 1 1))
    => #<pos 1 3>

(next-line -1 (pos 1 1))
    => #<pos 1 0>

Function: goto-next-line &optional count
Move count lines downwards, the column number of the cursor is adjusted so that its glyph position is as close to its previous glyph position as possible.

Function: prev-line &optional count pos
Similar to next-line but goes backwards (or forwards with a negative count).

Function: goto-prev-line &optional count
Move count lines backwards, adjusting the column number of the cursor as necessary.


Go to the first, previous, next, last section, table of contents.