Smarter emacs packages update.