Make macro recording work with Exporter
Merge pull request #986 from imagejan/patch-1

Make macro recording work with Exporter