Make the emacs mode work with emacs package manager.