aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2003-05-18 21:35:06 +0000
committerStefan Monnier2003-05-18 21:35:06 +0000
commitf3e95b0df03eb4c321817f8e521c07d2c83d022d (patch)
tree3f0668c76ebc97bc56035edd7154eb74a593bf93 /lisp
parentb1ccc1cee6ed6bd3f10fa2bfc499f66af1fdfc18 (diff)
downloademacs-f3e95b0df03eb4c321817f8e521c07d2c83d022d.tar.gz
emacs-f3e95b0df03eb4c321817f8e521c07d2c83d022d.zip
(mail-mode): Don't bother setting paragraph-start.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index e89dc3392f5..130bd160a4b 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -498,7 +498,6 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and
498 (make-local-variable 'font-lock-defaults) 498 (make-local-variable 'font-lock-defaults)
499 (setq font-lock-defaults '(mail-font-lock-keywords t t)) 499 (setq font-lock-defaults '(mail-font-lock-keywords t t))
500 (make-local-variable 'paragraph-separate) 500 (make-local-variable 'paragraph-separate)
501 (make-local-variable 'paragraph-start)
502 (make-local-variable 'normal-auto-fill-function) 501 (make-local-variable 'normal-auto-fill-function)
503 (setq normal-auto-fill-function 'mail-mode-auto-fill) 502 (setq normal-auto-fill-function 'mail-mode-auto-fill)
504 (make-local-variable 'fill-paragraph-function) 503 (make-local-variable 'fill-paragraph-function)
@@ -518,12 +517,11 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and
518 ;; lines that delimit forwarded messages. 517 ;; lines that delimit forwarded messages.
519 ;; Lines containing just >= 3 dashes, perhaps after whitespace, 518 ;; Lines containing just >= 3 dashes, perhaps after whitespace,
520 ;; are also sometimes used and should be separators. 519 ;; are also sometimes used and should be separators.
521 (setq paragraph-start (concat (regexp-quote mail-header-separator) 520 (setq paragraph-separate (concat (regexp-quote mail-header-separator)
522 "$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$" 521 "$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$"
523 "\\|[ \t]*[[:alnum:]]*>+[ \t]*$\\|[ \t]*$\\|" 522 "\\|[ \t]*[[:alnum:]]*>+[ \t]*$\\|[ \t]*$\\|"
524 "-- $\\|---+$\\|" 523 "--\\( \\|-+\\)$\\|"
525 page-delimiter)) 524 page-delimiter)))
526 (setq paragraph-separate paragraph-start))
527 525
528 526
529(defun mail-header-end () 527(defun mail-header-end ()