]> git.eshelyaron.com Git - emacs.git/commit
Fix slow abbrev expansion in `message-mode' in some circumstances
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 15:07:54 +0000 (16:07 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 15:07:54 +0000 (16:07 +0100)
commit3b731b123d11e4c13e2dd16b336b146081f94a30
tree5a717b9bcf58826d362eb8debd8693d8dae1205a
parente544b863433e37fbd2555d3b48da3a88a6307ddb
Fix slow abbrev expansion in `message-mode' in some circumstances

* lisp/gnus/message.el (message--syntax-propertize): Use the
correct Message mode syntax table to avoid having
`message-cite-prefix-regexp' trigger very heavy backtracing when
called from an abbrev context (which defines "_" as a word
constituent) (bug#45944).
lisp/gnus/message.el