summaryrefslogtreecommitdiff
path: root/lisp/international/textsec.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-19 14:42:39 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-19 14:42:39 +0100
commitb4336b2832cad22603f14f114d97abd95bdccc8c (patch)
tree73c50e9fca59d88764529918b070df596e1b777d /lisp/international/textsec.el
parentd1648945fc4d665221eedc383618d5bb059d2ba3 (diff)
downloademacs-b4336b2832cad22603f14f114d97abd95bdccc8c.tar.gz
emacs-b4336b2832cad22603f14f114d97abd95bdccc8c.tar.bz2
emacs-b4336b2832cad22603f14f114d97abd95bdccc8c.zip
Make textsec-suspicious-nonspacing-p work on marks
* lisp/international/textsec.el (textsec-suspicious-nonspacing-p): We're only interested in nonspacing marks, not control characters in this test.
Diffstat (limited to 'lisp/international/textsec.el')
-rw-r--r--lisp/international/textsec.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el
index ebd67e42371..394da44e9ab 100644
--- a/lisp/international/textsec.el
+++ b/lisp/international/textsec.el
@@ -310,7 +310,7 @@ consecutive nonspacing characters."
(lambda (char)
(let ((nonspacing
(memq (get-char-code-property char 'general-category)
- '(Cf Cc Mn))))
+ '(Mn Me))))
(when (and nonspacing
(equal char prev))
(throw 'found "Two identical consecutive nonspacing characters"))