aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArtur Malabarba2015-12-01 13:52:50 +0000
committerArtur Malabarba2015-12-01 13:55:45 +0000
commit61a4b57f1d90f81fb491abfebd94a5a6389db62f (patch)
treea46c5636584068e3b389e379a67b19a38ecc341e /test
parent13258026aab835bf4d2aa74637bf46a1e06b3697 (diff)
downloademacs-61a4b57f1d90f81fb491abfebd94a5a6389db62f.tar.gz
emacs-61a4b57f1d90f81fb491abfebd94a5a6389db62f.zip
* lisp/character-fold.el: Add back multi-char matching
(character-fold-to-regexp): Uncomment recently commented code and make the algorithm "dummer" by not checking every possible combination. This will miss some possible matches, but it greatly reduces regexp size. * test/automated/character-fold-tests.el (character-fold--test-fold-to-regexp): Comment out test of functionality no longer supported.
Diffstat (limited to 'test')
-rw-r--r--test/automated/character-fold-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/automated/character-fold-tests.el b/test/automated/character-fold-tests.el
index cf195842d0a..40735e5df7f 100644
--- a/test/automated/character-fold-tests.el
+++ b/test/automated/character-fold-tests.el
@@ -93,7 +93,10 @@
93 (aset multi ?1 '(("2" . "yy"))) 93 (aset multi ?1 '(("2" . "yy")))
94 (character-fold--test-match-exactly "a1" "xx44" "99") 94 (character-fold--test-match-exactly "a1" "xx44" "99")
95 (character-fold--test-match-exactly "a12" "77" "xx442" "992") 95 (character-fold--test-match-exactly "a12" "77" "xx442" "992")
96 (character-fold--test-match-exactly "a12" "xxyy"))) 96 ;; Support for this case is disabled. See function definition or:
97 ;; https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02562.html
98 ;; (character-fold--test-match-exactly "a12" "xxyy")
99 ))
97 100
98 101
99(provide 'character-fold-tests) 102(provide 'character-fold-tests)