Function: nxml-forward-single-paragraph
nxml-forward-single-paragraph is a byte-compiled function defined in
nxml-mode.el.gz.
Signature
(nxml-forward-single-paragraph)
Documentation
Move forward over a single paragraph.
Return nil at end of buffer, t otherwise.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defun nxml-forward-single-paragraph ()
"Move forward over a single paragraph.
Return nil at end of buffer, t otherwise."
(let* ((token-end (nxml-token-after))
(offset (- (point) xmltok-start))
pos had-data)
(goto-char token-end)
(while (and (< (point) (point-max))
(not (setq pos
(nxml-paragraph-end-pos had-data offset))))
(when (nxml-token-contains-data-p offset)
(setq had-data t))
(nxml-tokenize-forward)
(setq offset 0))
(when pos (goto-char pos))))