Skip to content

Commit

Permalink
Turn off automatic auto-complete
Browse files Browse the repository at this point in the history
  • Loading branch information
candera committed Mar 6, 2013
1 parent 7ba1d96 commit 5ab98e5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions init.el
Expand Up @@ -19,8 +19,8 @@
(require 'server)
(unless (or (eq system-type 'windows-nt)
(if (fboundp 'server-running-p)
(server-running-p)
server-process))
(server-running-p)
server-process))
(server-start))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down Expand Up @@ -1089,8 +1089,12 @@ if the major mode is one of 'delete-trailing-whitespace-modes'"
(add-to-list 'ac-dictionary-directories "~/.emacs.d.custom/auto-complete/dict")
(ac-config-default)

;; Turn off automatic start of auto-complete
(setq ac-auto-start nil)

(add-hook 'auto-complete-mode-hook
(lambda ()
(local-set-key (kbd "M-/") 'auto-complete)
(define-key ac-completing-map (kbd "C-n") 'ac-next)
(define-key ac-completing-map (kbd "C-p") 'ac-previous)
(define-key ac-completing-map (kbd "C-g") 'ac-stop)
Expand Down

0 comments on commit 5ab98e5

Please sign in to comment.