From 0f45f383b9e66e90f092a6095b2f0faa19e55af3 Mon Sep 17 00:00:00 2001 From: nitishch Date: Mon, 23 Sep 2019 12:02:08 +0200 Subject: [PATCH] "]" 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 --- lisp/mail/sendmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2