emacs: moved ac initialization inside the conditional.