summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-26 22:19:26 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-26 22:19:26 +0000
commit85d9831247d0b4b39dcecd484991682dccb3f8a5 (patch)
treeec056f885ffe5edf6acaec0aabf511e5e2cfa9a7
parent924fa3085f29c1ba42e03ccfe467bfd542619140 (diff)
downloademacs-85d9831247d0b4b39dcecd484991682dccb3f8a5.tar.gz
(mail-mode): Make adaptive-fill-regexp
match more values. Bind adaptive-fill-first-line-regexp too.
-rw-r--r--lisp/mail/sendmail.el4
1 files changed, 3 insertions, 1 deletions
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,