Function: tpu-previous-paragraph
tpu-previous-paragraph is an interactive and byte-compiled function
defined in tpu-edt.el.gz.
Signature
(tpu-previous-paragraph NUM)
Documentation
Move to beginning of previous paragraph.
Accepts a prefix argument for the number of paragraphs.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/tpu-edt.el.gz
(defun tpu-previous-paragraph (num)
"Move to beginning of previous paragraph.
Accepts a prefix argument for the number of paragraphs."
(interactive "p")
(end-of-line)
(while (and (not (bobp)) (> num 0))
(if (not (and (re-search-backward "^[ \t]*$" nil t)
(re-search-backward "[^ \t\n]" nil t)
(re-search-backward "^[ \t]*$" nil t)
(progn (re-search-forward "[^ \t\n]" nil t)
(goto-char (match-beginning 0)))))
(goto-char (point-min)))
(setq num (1- num)))
(beginning-of-line))