Undefine file-local macros before EOF