Function: nroff-forward-text-line
nroff-forward-text-line is an interactive and byte-compiled function
defined in nroff-mode.el.gz.
Signature
(nroff-forward-text-line &optional CNT)
Documentation
Go forward one nroff text line, skipping lines of nroff requests.
An argument is a repeat count; if negative, move backward.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/nroff-mode.el.gz
(defun nroff-forward-text-line (&optional cnt)
"Go forward one nroff text line, skipping lines of nroff requests.
An argument is a repeat count; if negative, move backward."
(interactive "p")
(if (not cnt) (setq cnt 1))
(while (and (> cnt 0) (not (eobp)))
(forward-line 1)
(while (and (not (eobp)) (looking-at "[.']."))
(forward-line 1))
(setq cnt (- cnt 1)))
(while (and (< cnt 0) (not (bobp)))
(forward-line -1)
(while (and (not (bobp))
(looking-at "[.']."))
(forward-line -1))
(setq cnt (+ cnt 1)))
cnt)