Add test case for ‘format’ bug and refactor
commit6dbe056b9beec0b9ff6c84331a49c568408dbbaa
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Aug 2015 15:50:22 +0000 (27 08:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Aug 2015 15:52:02 +0000 (27 08:52 -0700)
tree32a6e13fcb20634d9986324e9dc973713cd7be96
parentf33c164123e2bc46c4d06853b1a32130126d54c8
Add test case for ‘format’ bug and refactor

* src/editfns.c (styled_format): Refactor internally, mostly by
moving declarations closer to uses.  This should not affect behavior.
* test/automated/textprop-tests.el (textprop-tests-format): New test.
src/editfns.c
test/automated/textprop-tests.el