diff options
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,6 +6,7 @@ | |||
6 | ;; For important compatibility libraries like cl-lib | 6 | ;; For important compatibility libraries like cl-lib |
7 | (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | 7 | (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) |
8 | 8 | ||
9 | (package-initialize) | ||
9 | 10 | ||
10 | (defun ensure-package-installed (&rest packages) | 11 | (defun ensure-package-installed (&rest packages) |
11 | "Assure every package is installed, ask for installation if it’s not. | 12 | "Assure every package is installed, ask for installation if it’s not. |
@@ -28,7 +29,6 @@ Return a list of installed packages or nil for every skipped package." | |||
28 | 29 | ||
29 | (ensure-package-installed 'color-theme 'evil 'evil-dvorak 'undo-tree 'zenburn-theme 'magit 'haskell-mode) | 30 | (ensure-package-installed 'color-theme 'evil 'evil-dvorak 'undo-tree 'zenburn-theme 'magit 'haskell-mode) |
30 | 31 | ||
31 | ;; activate installed packages | ||
32 | (package-initialize) | 32 | (package-initialize) |
33 | 33 | ||
34 | (add-to-list 'load-path "~/.nix-profile/share/emacs/site-lisp/") | 34 | (add-to-list 'load-path "~/.nix-profile/share/emacs/site-lisp/") |