aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-05-05 03:55:07 +0000
committerRichard M. Stallman1996-05-05 03:55:07 +0000
commitdf0d89b112fe203163cede520aa680c52ee8623b (patch)
tree84c66c90ddd3655c5376134ee0763e6cc6810cfc
parent566f2169f25306942e6b2f8c7ed8163aa709d163 (diff)
downloademacs-df0d89b112fe203163cede520aa680c52ee8623b.tar.gz
emacs-df0d89b112fe203163cede520aa680c52ee8623b.zip
(mail-mode): Line starting with ---- is a separator.
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index a8185e1f557..da3707f2179 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -327,11 +327,15 @@ C-c C-v mail-sent-via (add a Sent-via field for each To or CC)."
327 (setq font-lock-defaults '(mail-font-lock-keywords t)) 327 (setq font-lock-defaults '(mail-font-lock-keywords t))
328 (make-local-variable 'paragraph-separate) 328 (make-local-variable 'paragraph-separate)
329 (make-local-variable 'paragraph-start) 329 (make-local-variable 'paragraph-start)
330 ;; `-- ' precedes the signature. `-----' appears at the start of the
331 ;; lines that delimit forwarded messages.
332 ;; Lines containing just >= 3 dashes, perhaps after whitespace,
333 ;; are also sometimes used and should be separators.
330 (setq paragraph-start (concat (regexp-quote mail-header-separator) 334 (setq paragraph-start (concat (regexp-quote mail-header-separator)
331 "$\\|[ \t]*[-_][-_][-_]+$\\|-- \\|" 335 "$\\|[ \t]*[-_][-_][-_]+$\\|-- $\\|-----\\|"
332 paragraph-start)) 336 paragraph-start))
333 (setq paragraph-separate (concat (regexp-quote mail-header-separator) 337 (setq paragraph-separate (concat (regexp-quote mail-header-separator)
334 "$\\|[ \t]*[-_][-_][-_]+$\\|-- \\|" 338 "$\\|[ \t]*[-_][-_][-_]+$\\|-- $\\|-----\\|"
335 paragraph-separate)) 339 paragraph-separate))
336 (run-hooks 'text-mode-hook 'mail-mode-hook)) 340 (run-hooks 'text-mode-hook 'mail-mode-hook))
337 341