From: nitishch Date: Mon, 23 Sep 2019 10:02:08 +0000 (+0200) Subject: "]" is not a standard citation prefix character X-Git-Tag: emacs-27.0.90~1477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f45f383b9e66e90f092a6095b2f0faa19e55af3;p=emacs.git "]" is not a standard citation prefix character * lisp/mail/sendmail.el (mail-citation-prefix-regexp): Don't regard "]" as a citation prefix character (bug#25150). This allows some motion commands (like forward-sexp) to behave more as expected in Message mode buffers. Copyright-paperwork-exempt: yes --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 1da33a43eb8..e71f98282ad 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -249,7 +249,7 @@ regardless of what part of it (if any) is included in the cited text.") ;;;###autoload (defcustom mail-citation-prefix-regexp - (purecopy "\\([ \t]*\\(\\w\\|[_.]\\)+>+\\|[ \t]*[]>|]\\)+") + (purecopy "\\([ \t]*\\(\\w\\|[_.]\\)+>+\\|[ \t]*[>|]\\)+") "Regular expression to match a citation prefix plus whitespace. It should match whatever sort of citation prefixes you want to handle, with whitespace before and after; it should also match just whitespace.