]> code.delx.au - gnu-emacs/commit
* lisp/character-fold.el: Add support for multi-char matches
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 28 Nov 2015 12:15:17 +0000 (12:15 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 28 Nov 2015 16:21:54 +0000 (16:21 +0000)
commit5c5997002b0b0aded744d5828158243fd546b3ec
tree796917c909ee36f2ae5dc64cda6c0c78cb9c0155
parent35c7dc06ed1bd27fc69b2a79e88a8cfb2a6b3dae
* lisp/character-fold.el: Add support for multi-char matches

(character-fold-table): Now has an extra-slot. This is a second
char-table that holds multi-character matches.  See docstring for
details.
(character-fold-to-regexp): Can build branching regexps when a
character's entry the extra slot of `character-fold-table' matches the
characters that succeed it.
lisp/character-fold.el
test/automated/character-fold-tests.el