Added ag support to emacs