diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-05 06:41:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-05 06:41:51 +0000 |
commit | 3a8107111bb17d93418895206887639914426cf8 (patch) | |
tree | 8a18fabe8fece14763fa0d4c69f0bd2cf8d75842 | |
parent | 8e55a6a830c0457f54a10d6b329e08424df6bdab (diff) | |
download | emacs-3a8107111bb17d93418895206887639914426cf8.tar.gz |
(mail-mode): Fix previous change.
Treat a supercite prefix not followed by text
as a paragraph separator.
-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)." (setq fill-paragraph-function 'mail-mode-fill-paragraph) (make-local-variable 'adaptive-fill-regexp) (setq adaptive-fill-regexp - (concat "[a-z0-9A-Z]*>+ *\\|" adaptive-fill-regexp)) + (concat "[ \t]*[a-z0-9A-Z]*>+ *\\|" adaptive-fill-regexp)) (make-local-variable 'adaptive-fill-first-line-regexp) (setq adaptive-fill-first-line-regexp adaptive-fill-regexp) ;; `-- ' 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)." ;; Lines containing just >= 3 dashes, perhaps after whitespace, ;; are also sometimes used and should be separators. (setq paragraph-start (concat (regexp-quote mail-header-separator) - "$\\|[ \t]*$\\|" page-delimiter)) + "$\\|[ \t]*[a-z0-9A-Z]*>+ *$\\|[ \t]*$\\|" + page-delimiter)) (setq paragraph-separate paragraph-start) (run-hooks 'text-mode-hook 'mail-mode-hook)) |