From: Richard M. Stallman Date: Sat, 26 Jul 1997 22:19:26 +0000 (+0000) Subject: (mail-mode): Make adaptive-fill-regexp X-Git-Tag: emacs-20.1~946 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d78f466fffb89144555fab7d3e40856ec8759cf9;p=emacs.git (mail-mode): Make adaptive-fill-regexp match more values. Bind adaptive-fill-first-line-regexp too. --- 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,