aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/auto-complete.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d/modes/auto-complete.el')
-rw-r--r--.emacs.local.d/modes/auto-complete.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/auto-complete.el b/.emacs.local.d/modes/auto-complete.el
new file mode 100644
index 0000000..c536b37
--- /dev/null
+++ b/.emacs.local.d/modes/auto-complete.el
@@ -0,0 +1,13 @@
+;; auto-complete
+(require 'auto-complete)
+(require 'auto-complete-config)
+
+;; Debian packages: auto-complete-el
+
+(add-to-list 'ac-dictionary-directories "/usr/share/auto-complete/dict/")
+
+(ac-config-default)
+(defun auto-complete-mode-maybe ()
+ "No maybe for you. Only AC!"
+ (unless (minibufferp (current-buffer))
+ (auto-complete-mode 1)))
nihil fit ex nihilo