diff options
| author | Richard M. Stallman | 1998-07-09 05:32:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-07-09 05:32:47 +0000 |
| commit | fea4012025820908a43514e824d730ee6b6f1de3 (patch) | |
| tree | baaa8b43f5c6e51c47417d8635cede7a43efd4b0 | |
| parent | 6e9ed08693e1abbb56bab7be0647d12814bf26e3 (diff) | |
| download | emacs-fea4012025820908a43514e824d730ee6b6f1de3.tar.gz emacs-fea4012025820908a43514e824d730ee6b6f1de3.zip | |
(fill-individual-paragraphs): Fix previous change.
| -rw-r--r-- | lisp/textmodes/fill.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index abb04746d58..18f06a7e8d5 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -1039,10 +1039,11 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines." | |||
| 1039 | (point) | 1039 | (point) |
| 1040 | (save-excursion (forward-line 2) | 1040 | (save-excursion (forward-line 2) |
| 1041 | (point)))) | 1041 | (point)))) |
| 1042 | (setq adjusted-two-lines-prefix | 1042 | (when two-lines-prefix |
| 1043 | (substring two-lines-prefix 0 | 1043 | (setq adjusted-two-lines-prefix |
| 1044 | (string-match "[ \t]*\\'" | 1044 | (substring two-lines-prefix 0 |
| 1045 | two-lines-prefix))) | 1045 | (string-match "[ \t]*\\'" |
| 1046 | two-lines-prefix)))) | ||
| 1046 | ;; See if JUST-ONE-LINE-PREFIX | 1047 | ;; See if JUST-ONE-LINE-PREFIX |
| 1047 | ;; is the same as TWO-LINES-PREFIX | 1048 | ;; is the same as TWO-LINES-PREFIX |
| 1048 | ;; except perhaps with longer whitespace. | 1049 | ;; except perhaps with longer whitespace. |
| @@ -1088,7 +1089,4 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines." | |||
| 1088 | (fill-region-as-paragraph start (point) justify) | 1089 | (fill-region-as-paragraph start (point) justify) |
| 1089 | (or had-newline (delete-char -1)))))))) | 1090 | (or had-newline (delete-char -1)))))))) |
| 1090 | 1091 | ||
| 1091 | (defun fill-strip-trailing-space (string) | ||
| 1092 | )) | ||
| 1093 | |||
| 1094 | ;;; fill.el ends here | 1092 | ;;; fill.el ends here |