[Emacs mode] Fixed loading error when `auto-complete-mode` isn't loaded.