diff --git a/init.el b/init.el index 567676a..4b28f2b 100644 --- a/init.el +++ b/init.el @@ -137,6 +137,7 @@ PACKAGE is installed and the current version is deleted." elscreen ; window session manager expand-region ; Increase selected region by semantic units flx-ido ; flx integration for ido + idle-require ; load elisp libraries while Emacs is idle ido-vertical-mode ; Makes ido-mode display vertically. geiser ; GNU Emacs and Scheme talk to each other haskell-mode ; A Haskell editing mode @@ -761,9 +762,6 @@ the languages in ISPELL-LANGUAGES when invoked." (defun c-setup () (local-set-key (kbd "C-c C-c") 'compile)) -(require 'auto-complete-c-headers) -(add-to-list 'ac-sources 'ac-source-c-headers) - (add-hook 'c-mode-common-hook 'c-setup) ;; Some statements in Java appear often, and become tedious to write diff --git a/init.org b/init.org index 58698d5..726183e 100644 --- a/init.org +++ b/init.org @@ -198,6 +198,7 @@ elscreen ; window session manager expand-region ; Increase selected region by semantic units flx-ido ; flx integration for ido + idle-require ; load elisp libraries while Emacs is idle ido-vertical-mode ; Makes ido-mode display vertically. geiser ; GNU Emacs and Scheme talk to each other haskell-mode ; A Haskell editing mode @@ -942,9 +943,6 @@ (defun c-setup () (local-set-key (kbd "C-c C-c") 'compile)) - (require 'auto-complete-c-headers) - (add-to-list 'ac-sources 'ac-source-c-headers) - (add-hook 'c-mode-common-hook 'c-setup) #+END_SRC