Cleaned up unnecessary code from emac.d file