changeset 19161:248ec4d8a5e6

(mail-mode): Fix previous change. Treat a supercite prefix not followed by text as a paragraph separator.
author Richard M. Stallman <rms@gnu.org>
date Tue, 05 Aug 1997 06:41:51 +0000
parents 6fc804ec9434
children c53a142e847a
files lisp/mail/sendmail.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Tue Aug 05 06:07:24 1997 +0000
+++ b/lisp/mail/sendmail.el	Tue Aug 05 06:41:51 1997 +0000
@@ -348,7 +348,7 @@
   (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 @@
   ;; 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))