From 04e74403a1b12aede05915df869170ab5ca0e253 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 11 Jan 2012 23:34:46 -0800 Subject: [PATCH] Comments. --- lisp/mail/sendmail.el | 1 + lisp/textmodes/fill.el | 1 + 2 files changed, 2 insertions(+) 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 -- 2.39.2