diff options
| author | Richard M. Stallman | 1997-08-05 06:41:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-05 06:41:51 +0000 |
| commit | a8fb994089c2a9481ed1ad09542ddab3f9257f0c (patch) | |
| tree | fa85ec14f2d3b2c8873dea3d939a44f314f1a89d /lisp | |
| parent | b3ac9fa99a571b0d40bf2a9cd0e4efe56fbe9825 (diff) | |
| download | emacs-a8fb994089c2a9481ed1ad09542ddab3f9257f0c.tar.gz emacs-a8fb994089c2a9481ed1ad09542ddab3f9257f0c.zip | |
(mail-mode): Fix previous change.
Treat a supercite prefix not followed by text
as a paragraph separator.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/sendmail.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index ff0835aabf8..4a7a2172d23 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -348,7 +348,7 @@ C-c C-v mail-sent-via (add a Sent-via field for each To or CC)." | |||
| 348 | (setq fill-paragraph-function 'mail-mode-fill-paragraph) | 348 | (setq fill-paragraph-function 'mail-mode-fill-paragraph) |
| 349 | (make-local-variable 'adaptive-fill-regexp) | 349 | (make-local-variable 'adaptive-fill-regexp) |
| 350 | (setq adaptive-fill-regexp | 350 | (setq adaptive-fill-regexp |
| 351 | (concat "[a-z0-9A-Z]*>+ *\\|" adaptive-fill-regexp)) | 351 | (concat "[ \t]*[a-z0-9A-Z]*>+ *\\|" adaptive-fill-regexp)) |
| 352 | (make-local-variable 'adaptive-fill-first-line-regexp) | 352 | (make-local-variable 'adaptive-fill-first-line-regexp) |
| 353 | (setq adaptive-fill-first-line-regexp adaptive-fill-regexp) | 353 | (setq adaptive-fill-first-line-regexp adaptive-fill-regexp) |
| 354 | ;; `-- ' precedes the signature. `-----' appears at the start of the | 354 | ;; `-- ' precedes the signature. `-----' appears at the start of the |
| @@ -356,7 +356,8 @@ C-c C-v mail-sent-via (add a Sent-via field for each To or CC)." | |||
| 356 | ;; Lines containing just >= 3 dashes, perhaps after whitespace, | 356 | ;; Lines containing just >= 3 dashes, perhaps after whitespace, |
| 357 | ;; are also sometimes used and should be separators. | 357 | ;; are also sometimes used and should be separators. |
| 358 | (setq paragraph-start (concat (regexp-quote mail-header-separator) | 358 | (setq paragraph-start (concat (regexp-quote mail-header-separator) |
| 359 | "$\\|[ \t]*$\\|" page-delimiter)) | 359 | "$\\|[ \t]*[a-z0-9A-Z]*>+ *$\\|[ \t]*$\\|" |
| 360 | page-delimiter)) | ||
| 360 | (setq paragraph-separate paragraph-start) | 361 | (setq paragraph-separate paragraph-start) |
| 361 | (run-hooks 'text-mode-hook 'mail-mode-hook)) | 362 | (run-hooks 'text-mode-hook 'mail-mode-hook)) |
| 362 | 363 | ||