"]" 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
This commit is contained in:
nitishch 2019-09-23 12:02:08 +02:00 committed by Lars Ingebrigtsen
parent 72b2b4a5db
commit 0f45f383b9

View file

@ -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.