mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(forward-paragraph): Don't overlook a paragraph-start
line just because it ends at eob.
This commit is contained in:
parent
23ce41fc6d
commit
4669fb3c76
1 changed files with 2 additions and 2 deletions
|
|
@ -202,10 +202,10 @@ to which the end of the previous line belongs, or the end of the buffer."
|
|||
(looking-at fill-prefix-regexp))
|
||||
(forward-line 1))
|
||||
(while (and (re-search-forward sp-paragraph-start nil 1)
|
||||
(not (eobp))
|
||||
(progn (setq start (match-beginning 0))
|
||||
(goto-char start)
|
||||
(move-to-left-margin)
|
||||
(not (eobp)))
|
||||
(progn (move-to-left-margin)
|
||||
(not (looking-at paragraph-separate)))
|
||||
(or (not (looking-at paragraph-start))
|
||||
(and use-hard-newlines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue