legacy-dotfiles/emacs.d/20-auto-complete.el
Tom Willemsen 62f897fdf5 New .emacs style
* .emacs only loops through .emacs.d and runs the *.el files there.

 * files are automatically compiled before loading. But only if it
   hasn't already been compiled.

 * all emacs el files, save for the startup scripts, have been moved
   to .emacs.d/elisp
2011-02-21 00:27:43 +01:00

12 lines
332 B
EmacsLisp

(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)
(global-auto-complete-mode -1)
(add-hook 'emacs-lisp-mode-hook
(lambda()
(auto-complete-mode t)))
(add-hook 'lisp-interaction-mode-hook
(lambda ()
(auto-complete-mode t)))