(defvar paragraph-ignore-fill-prefix nil "\ Non-nil means the paragraph commands are not affected by fill-prefix. This is desirable in modes where blank lines are the paragraph delimiters.") (defun forward-paragraph (&optional arg) "\ Move forward to end of paragraph. With arg, do it arg times. 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 the beginning of a line which is not part of the paragraph to which the end of the previous line belongs, or the end of the buffer." (interactive "p") (byte-code "ƈ ȉ \"? ? ! + R, W !?B `Se]#I Ƃ ! o?X !b !P o?| !?| ! !j o? # m? ! ! `Zf= ! ebT- V m? !! ƈ m? !? ! ! #!bdbS *" [arg fill-prefix-regexp fill-prefix paragraph-ignore-fill-prefix paragraph-separate t nil paragraph-start 1 equal "" regexp-quote "\\|^" "[ ]*$" 0 looking-at re-search-backward "^ " forward-char -1 beginning-of-line forward-line end-of-line 2 10 re-search-forward match-beginning] 28)) (defun backward-paragraph (&optional arg) "\ Move backward to start of paragraph. With arg, do it arg times. A paragraph start is the beginning of a line which is a first-line-of-paragraph or which is ordinary text and follows a paragraph-separating line; except: if the first real line of a paragraph is preceded by a blank line, the paragraph starts at that blank line. See forward-paragraph for more information." (interactive "p") (byte-code " [!" [arg nil 1 forward-paragraph] 2)) (defun mark-paragraph nil "\ Put point at beginning of this paragraph, mark at end." (interactive) (byte-code "!\"!" [nil t forward-paragraph 1 push-mark backward-paragraph] 4)) (defun kill-paragraph (arg) "\ Kill to end of paragraph." (interactive "*p") (byte-code "`!`\"" [arg nil kill-region forward-paragraph] 4)) (defun backward-kill-paragraph (arg) "\ Kill back to start of paragraph." (interactive "*p") (byte-code "`!`\"" [arg nil kill-region backward-paragraph] 4)) (defun transpose-paragraphs (arg) "\ Interchange this (or next) paragraph with previous one." (interactive "*p") (byte-code "\"" [arg nil transpose-subr forward-paragraph] 3)) (defun start-of-paragraph-text nil (byte-code "`!`!`Y W'