From d78f466fffb89144555fab7d3e40856ec8759cf9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 26 Jul 1997 22:19:26 +0000 Subject: [PATCH] (mail-mode): Make adaptive-fill-regexp match more values. Bind adaptive-fill-first-line-regexp too. --- lisp/mail/sendmail.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 8ad9778f845..985f11c872b 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -348,7 +348,9 @@ 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 "[ \t]+[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 ;; lines that delimit forwarded messages. ;; Lines containing just >= 3 dashes, perhaps after whitespace, -- 2.39.5