On 01/22/2017 03:08 PM, npostavs@users.sourceforge.net wrote: > > I think it's better to maximize the range of save-match-data, i.e., have > it cover as much code as practical between the place that sets the match > data and the place that uses the it, rather than minimizing the range so > that it only covers functions which modify match data (because the > default assumption in Emacs is that functions may modify match data > unless they say otherwise). In this case, I would put it around the > `and` in the line above. > Thanks. I've attached a newer version with tests with all the issues fixed.