From: Glenn Morris Date: Thu, 12 Jan 2012 07:34:46 +0000 (-0800) Subject: Comments. X-Git-Tag: emacs-pretest-24.0.93~97^2~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04e74403a1b12aede05915df869170ab5ca0e253;p=emacs.git Comments. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 58a7a2c3729..18d928e4b90 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -730,6 +730,7 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and (set (make-local-variable 'comment-start-skip) (concat "^" (regexp-quote mail-yank-prefix) "[ \t]*"))) (make-local-variable 'adaptive-fill-regexp) + ;; Also update the paragraph-separate entry if you change this. (setq adaptive-fill-regexp (concat "[ \t]*[-[:alnum:]]+>+[ \t]*\\|" adaptive-fill-regexp)) diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index d3fa49491d4..08254c6f5f7 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -93,6 +93,7 @@ reinserts the fill prefix in each resulting line." ;; Added `!' for doxygen comments starting with `//!' or `/*!'. ;; Added `%' for TeX comments. ;; RMS: deleted the code to match `1.' and `(1)'. + ;; Update mail-mode's paragraph-separate if you change this. (purecopy "[ \t]*\\([-–!|#%;>*·•‣⁃◦]+[ \t]*\\)*") "Regexp to match text at start of line that constitutes indentation. If Adaptive Fill mode is enabled, a prefix matching this pattern