]> code.delx.au - gnu-emacs/commit
* lisp/character-fold.el: Code simplifications
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 28 Nov 2015 10:32:46 +0000 (10:32 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 28 Nov 2015 15:06:37 +0000 (15:06 +0000)
commit35c7dc06ed1bd27fc69b2a79e88a8cfb2a6b3dae
tree8bc77df75389f52131279071d450eac8c8b7721b
parentea087151a901da36dd9ddc0843583906afafc7c5
* lisp/character-fold.el: Code simplifications

(character-fold-table): Reduce the scope of a variable.
(character-fold-to-regexp): Change logic to work directly on the
input string.  It's a little easier to understand, probably
faster, and sets us up for implementing multi-char matches.

* test/automated/character-fold-tests.el
(character-fold--test-fold-to-regexp): New test.
lisp/character-fold.el
test/automated/character-fold-tests.el