I agree with the suggestions from both of you and have made the corrections. I have attached a new patch. Please let me know if you have further thoughts. I will gladly sign a copyright assignment, if you point me to where I can do that. On 04/09/2017 11:26 PM, Dmitry Gutov wrote: > On 31.03.2017 06:16, Jonathan Ganc wrote: >> + (save-match-data >> + (let* ((default-directory (file-name-directory (expand-file-name >> file))) > > We don't require or expect that any particular function keeps the > match data intact. I don't think that save-match-data is needed here. > > Aside from this an Noam's comments, the patch is long enough to > require a copyright assignment. I didn't find yours on file. > > Will you sign one?