Jelajahi Sumber

Removed use of old function.

Thomas Flucke 7 tahun lalu
induk
melakukan
229996a268
1 mengubah file dengan 7 tambahan dan 8 penghapusan
  1. 7 8
      .emacs.d/init.el

+ 7 - 8
.emacs.d/init.el

@@ -5,6 +5,13 @@
 ;; gocode - Go auto complete
 
 ;; Enable loading my custom config files
+
+;; Added by Package.el.  This must come before configurations of
+;; installed packages.  Don't delete this line.  If you don't want it,
+;; just comment it out by adding a semicolon to the start of the line.
+;; You may delete these explanatory comments.
+(package-initialize)
+
 (add-to-list 'load-path "~/.emacs.d/configs/")
 
 ;; ----------- Default Variables -----------
@@ -155,11 +162,3 @@
 
 ;; ---- Printer Integration -----
 (require 'printer)
-
-;; Configure auto-complete if installed
-;; Used in case something installs it as a dependency
-(when (package-installed 'auto-complete)
-  (ac-config-default)
-  ;; Fix conflict between flyspell and auto-complete
-  (when (package-installed 'flyspell)
-    (ac-flyspell-workaround)))