diff options
| author | Richard M. Stallman | 1997-07-26 22:19:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-26 22:19:26 +0000 |
| commit | d78f466fffb89144555fab7d3e40856ec8759cf9 (patch) | |
| tree | 6dfd6bab4895500b5ae286defdf5d1b446d7bc29 /lisp | |
| parent | feb1ff7fbd2ea4a0803d6c8a9e7f243e7b4afad9 (diff) | |
| download | emacs-d78f466fffb89144555fab7d3e40856ec8759cf9.tar.gz emacs-d78f466fffb89144555fab7d3e40856ec8759cf9.zip | |
(mail-mode): Make adaptive-fill-regexp
match more values. Bind adaptive-fill-first-line-regexp too.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/sendmail.el | 4 |
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)." | |||
| 348 | (setq fill-paragraph-function 'mail-mode-fill-paragraph) | 348 | (setq fill-paragraph-function 'mail-mode-fill-paragraph) |
| 349 | (make-local-variable 'adaptive-fill-regexp) | 349 | (make-local-variable 'adaptive-fill-regexp) |
| 350 | (setq adaptive-fill-regexp | 350 | (setq adaptive-fill-regexp |
| 351 | (concat "[ \t]+[a-z0-9A-Z]+> *\\|" adaptive-fill-regexp)) | 351 | (concat "[ \t]+[a-z0-9A-Z]*>+ *\\|" adaptive-fill-regexp)) |
| 352 | (make-local-variable 'adaptive-fill-first-line-regexp) | ||
| 353 | (setq adaptive-fill-first-line-regexp adaptive-fill-regexp) | ||
| 352 | ;; `-- ' precedes the signature. `-----' appears at the start of the | 354 | ;; `-- ' precedes the signature. `-----' appears at the start of the |
| 353 | ;; lines that delimit forwarded messages. | 355 | ;; lines that delimit forwarded messages. |
| 354 | ;; Lines containing just >= 3 dashes, perhaps after whitespace, | 356 | ;; Lines containing just >= 3 dashes, perhaps after whitespace, |