diff options
| author | Richard M. Stallman | 1995-11-14 23:28:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-14 23:28:24 +0000 |
| commit | c62861749e917691ab791dcc8df7c3003b78c5c1 (patch) | |
| tree | 9ee17440e45b880ef9c7a51b250860bcb1b6a44e /lisp | |
| parent | 94f62922fabb004d1f453a344cbb16329d5220a0 (diff) | |
| download | emacs-c62861749e917691ab791dcc8df7c3003b78c5c1.tar.gz emacs-c62861749e917691ab791dcc8df7c3003b78c5c1.zip | |
(fill-individual-paragraphs): Advance 1 line in inner loop.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/fill.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 406d75ec089..6b80922c847 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -787,17 +787,18 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines." | |||
| 787 | (save-excursion (skip-chars-forward " \t") | 787 | (save-excursion (skip-chars-forward " \t") |
| 788 | (point)))) | 788 | (point)))) |
| 789 | fill-prefix-regexp (regexp-quote fill-prefix))) | 789 | fill-prefix-regexp (regexp-quote fill-prefix))) |
| 790 | (move-to-left-margin 1) | 790 | (forward-line 1) |
| 791 | (move-to-left-margin) | ||
| 791 | ;; Now stop the loop if end of paragraph. | 792 | ;; Now stop the loop if end of paragraph. |
| 792 | (and (not (eobp)) | 793 | (and (not (eobp)) |
| 793 | (if fill-individual-varying-indent | 794 | (if fill-individual-varying-indent |
| 794 | ;; If this line is a separator line, with or | 795 | ;; If this line is a separator line, with or |
| 795 | ;; without prefix, end the paragraph. | 796 | ;; without prefix, end the paragraph. |
| 796 | (and | 797 | (and |
| 797 | (not (looking-at paragraph-separate)) | 798 | (not (looking-at paragraph-separate)) |
| 798 | (save-excursion | 799 | (save-excursion |
| 799 | (not (and (looking-at fill-prefix-regexp) | 800 | (not (and (looking-at fill-prefix-regexp) |
| 800 | (progn (forward-char (length fill-prefix)) | 801 | (progn (forward-char (length fill-prefix)) |
| 801 | (looking-at paragraph-separate)))))) | 802 | (looking-at paragraph-separate)))))) |
| 802 | ;; If this line has more or less indent | 803 | ;; If this line has more or less indent |
| 803 | ;; than the fill prefix wants, end the paragraph. | 804 | ;; than the fill prefix wants, end the paragraph. |