summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lang-wrd.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lang-wrd.mkxl')
-rw-r--r--tex/context/base/mkxl/lang-wrd.mkxl14
1 files changed, 8 insertions, 6 deletions
diff --git a/tex/context/base/mkxl/lang-wrd.mkxl b/tex/context/base/mkxl/lang-wrd.mkxl
index d0964a677..ba1cfc571 100644
--- a/tex/context/base/mkxl/lang-wrd.mkxl
+++ b/tex/context/base/mkxl/lang-wrd.mkxl
@@ -39,12 +39,14 @@
\installdirectcommandhandler \??spell {spellchecking}
\appendtoks
- \doifelse{\directspellcheckingparameter\c!state}\v!start
- {\clf_enablespellchecking
- method {\directspellcheckingparameter\c!method}%
- list {\directspellcheckingparameter\c!list}%
- \relax}
- {\clf_disablespellchecking}%
+ \ifcstok{\directspellcheckingparameter\c!state}\v!start
+ \clf_enablespellchecking
+ method {\directspellcheckingparameter\c!method}%
+ list {\directspellcheckingparameter\c!list}%
+ \relax
+ \else
+ \clf_disablespellchecking
+ \fi
\to \everysetupspellchecking
\permanent\tolerant\protected\def\loadspellchecklist[#1]#*[#2]% can be public implementor