From 96fca8718f59752ece87b1e9b297ad59ea0645d0 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Mon, 16 Nov 2015 09:05:44 -0800 Subject: [PATCH] Fix autocomplete in init.el --- dotfiles/emacs.d/ac-comphist.dat | 4 ++++ dotfiles/emacs.d/init.el | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 dotfiles/emacs.d/ac-comphist.dat diff --git a/dotfiles/emacs.d/ac-comphist.dat b/dotfiles/emacs.d/ac-comphist.dat new file mode 100644 index 0000000..0234df8 --- /dev/null +++ b/dotfiles/emacs.d/ac-comphist.dat @@ -0,0 +1,4 @@ +((("Packages" . + [0 0 0 1 0 0 0 0]) + ("require" . + [2 0 0 0 0 0 0]))) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index d630fdd..53ea136 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -92,6 +92,17 @@ (ido-mode 1) ;;------------------------------------------------------------------------------------- +;; Enable Autocomplete +;; +;; NOTE: You can replace the 't' in (setq ac-auto-start t) with a positive integer +;; to trigger autocompletion only after that number of characters. This will +;; improve performance on slower systems. +;;------------------------------------------------------------------------------------- + +(global-auto-complete-mode t) +(setq ac-auto-start t) + +;;------------------------------------------------------------------------------------- ;; ZSH script detection ;;------------------------------------------------------------------------------------