]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in textsec-restriction-level
authorStefan Kangas <stefankangas@gmail.com>
Wed, 26 Oct 2022 20:25:40 +0000 (22:25 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 26 Oct 2022 21:02:30 +0000 (23:02 +0200)
* lisp/international/textsec.el (textsec-restriction-level):
* test/lisp/international/textsec-tests.el (test-restriction-level):
Fix typo in symbol name `moderately-restrictive'.

lisp/international/textsec.el
test/lisp/international/textsec-tests.el

index 82eba1b5d51b6d61b379e55e2a7731c8c3caa552..f8ff89c314bd4d5914c0605c2506d0c24ace87c9 100644 (file)
@@ -156,7 +156,7 @@ Levels are (in decreasing order of restrictiveness) `ascii-only',
                              tibetan)))
     ;; The string is covered by Latin and any one other Recommended
     ;; script, except Cyrillic, Greek.
-    'moderately-retrictive)
+    'moderately-restrictive)
    ;; Fixme `minimally-restrictive' -- needs well-formedness criteria
    ;; and Identifier Profile.
    (t
index 6b0773dc407096a142a80ce3432cae2b43a17c5f..1f7fb97a6bebf64390ade37366c006104fac71b1 100644 (file)
@@ -77,7 +77,7 @@
   (should (eq (textsec-restriction-level "切foo")
               'highly-restrictive))
   (should (eq (textsec-restriction-level "հfoo")
-              'moderately-retrictive))
+              'moderately-restrictive))
   (should (eq (textsec-restriction-level "Сirсlе")
               'unrestricted)))