Make macro recording work with Exporter
Merge pull request #997 from melissalinkert/rebased/dev_5_0/patch-1

Make macro recording work with Exporter (rebased onto dev_5_0)