]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-mode): Make adaptive-fill-regexp
authorRichard M. Stallman <rms@gnu.org>
Sat, 26 Jul 1997 22:19:26 +0000 (22:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 26 Jul 1997 22:19:26 +0000 (22:19 +0000)
match more values.  Bind adaptive-fill-first-line-regexp too.

lisp/mail/sendmail.el

index 8ad9778f84528f80bb3acb1ff7732723fc7ccdb2..985f11c872b2a7da477963e60884d13ccd174e57 100644 (file)
@@ -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,