Function: kotl-mode:forward-paragraph

kotl-mode:forward-paragraph is an interactive and byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:forward-paragraph &optional ARG)

Documentation

Move point forward until after the last character of the current paragraph.

With ARG N, do it N times; negative ARG -N means move backward N paragraphs. Return point.

A line which paragraph-start matches either separates paragraphs
(if paragraph-separate matches it also) or is the first line of a paragraph.
A paragraph end is one character before the beginning of a line which is not part of the paragraph, or the end of the buffer.

Key Bindings

Aliases

kotl-mode:forward-para

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:forward-paragraph (&optional arg)
  "Move point forward until after the last character of the current paragraph.
With ARG N, do it N times; negative ARG -N means move backward N paragraphs.
Return point.

A line which `paragraph-start' matches either separates paragraphs
\(if `paragraph-separate' matches it also) or is the first line of a paragraph.
A paragraph end is one character before the beginning of a line which is not
part of the paragraph, or the end of the buffer."
  (interactive "p")
  (setq arg (prefix-numeric-value arg))
  (if (< arg 0)
      (progn
	(if (kotl-mode:bocp) (setq arg (1- arg)))
	(while (< arg 0)
	  (start-of-paragraph-text)
	  (setq arg (1+ arg))))
    (while (> arg 0)
      (end-of-paragraph-text)
      (setq arg (1- arg))))
  (kotl-mode:to-valid-position)
  (point))