Mercurial > emacs
diff lisp/textmodes/paragraphs.el @ 34655:858c5f92cae6
Typo.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 18 Dec 2000 03:19:54 +0000 |
parents | 46fedf13d52e |
children | 248c8cd85a42 |
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el Mon Dec 18 03:17:46 2000 +0000 +++ b/lisp/textmodes/paragraphs.el Mon Dec 18 03:19:54 2000 +0000 @@ -106,7 +106,7 @@ The variable `paragraph-separate' specifies how to distinguish lines that start paragraphs from lines that separate them. -If the variable `use-hard-newlines' is nonnil, then only lines following a +If the variable `use-hard-newlines' is non-nil, then only lines following a hard newline are considered to match." :group 'paragraphs :type 'regexp) @@ -200,7 +200,7 @@ (while (and (not (bobp)) (progn (move-to-left-margin) (looking-at paragraph-separate))) - (forward-line -1)) + (forward-line -1)) (if (bobp) nil ;; Go to end of the previous (non-separating) line. @@ -213,8 +213,8 @@ (progn (move-to-left-margin) (not (looking-at paragraph-separate))) (looking-at fill-prefix-regexp)) - (if (not (= (point) start)) - (setq multiple-lines t)) + (unless (= (point) start) + (setq multiple-lines t)) (forward-line -1)) (move-to-left-margin) ;;; This deleted code caused a long hanging-indent line