Use company-mode.

For cider- and emacs-lisp modes, replace auto-complete with company.