Minor improvement in textsec diagnostics
* lisp/international/textsec.el (textsec-suspicious-nonspacing-p): Clarify wording of the strings returned to explain the suspicious use of nonspacing characters.
This commit is contained in:
parent
46dcb07e98
commit
596d0bda6d
1 changed files with 2 additions and 2 deletions
|
@ -304,13 +304,13 @@ consecutive nonspacing characters."
|
|||
'(Cf Cc Mn))))
|
||||
(when (and nonspacing
|
||||
(equal char prev))
|
||||
(throw 'found "Two identical nonspacing characters in a row"))
|
||||
(throw 'found "Two identical consecutive nonspacing characters"))
|
||||
(setq nonspace-count (if nonspacing
|
||||
(1+ nonspace-count)
|
||||
0))
|
||||
(when (> nonspace-count 4)
|
||||
(throw 'found
|
||||
"Excessive number of nonspacing characters in a row"))
|
||||
"Too many consecutive nonspacing characters"))
|
||||
(setq prev char)))
|
||||
string)
|
||||
nil)))
|
||||
|
|
Loading…
Add table
Reference in a new issue