emacs: load mercurial as library