Function: edt-paragraph-forward
edt-paragraph-forward is an interactive and byte-compiled function
defined in edt.el.gz.
Signature
(edt-paragraph-forward NUM)
Documentation
Move forward to beginning of paragraph.
Argument NUM is the positive number of paragraphs to move.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; PARAGRAPH
;;;
(defun edt-paragraph-forward (num)
"Move forward to beginning of paragraph.
Argument NUM is the positive number of paragraphs to move."
(interactive "p")
(edt-check-prefix num)
(edt-with-position
(while (> num 0)
(forward-paragraph (+ num 1))
(start-of-paragraph-text)
(if (eolp)
(forward-line 1))
(setq num (1- num)))
(if (> (point) far)
(let ((left (save-excursion (forward-line height))))
(recenter (if (zerop left) top-margin (- left bottom-up-margin))))
(and (> (point) bottom) (recenter bottom-margin)))))