From 91b59031b00ee55a592d2914227cf83bff6fc6e3 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 4 Jan 2014 10:53:03 -0800 Subject: [PATCH] Load packages inline --- .emacs.d/init.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d041835..2345b09 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -70,6 +70,17 @@ (add-to-list 'load-path "c:/ruby/lib") (add-to-list 'load-path "c:/ruby/doc/ruby/ruby-1.8.6/misc") +;; ================================================================= +;; Initialize Packages +;; ================================================================= +;; +;; I appreciate that the package developers feel like the packages should be +;; initialized after this file, but, well.... I want to customize things here +;; and it's hard to do that without the relevant packages loaded. +;; +(package-initialize) +(setq package-enable-at-startup nil) + ;; ================================================================= ;; EMACS general look and feel ;; ================================================================= @@ -545,7 +556,7 @@ ;; autoload/add-to-list stuff. Good for it! ;; ================================================================= (require 'go-mode-load) -(add-hook 'go-mode-hook 'auto-complete-mode) +(add-hook 'go-mode-hook 'auto-complete-mode) ;; Autocomplete is in the package manager, so we must defer configuration of ;; autocomplete until after the package manager has done its thing. It's