diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-15 21:54:35 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-15 21:54:35 +0200 |
commit | 8021595407c5338f408afcb2eba0ddbd7fb331eb (patch) | |
tree | f19524c57c7796b3ce470206fd3dd709bba49a25 | |
parent | 0f074a7e25da6ef4f6aaf0433cc48dfd5b353415 (diff) | |
download | dotfiles-8021595407c5338f408afcb2eba0ddbd7fb331eb.tar dotfiles-8021595407c5338f408afcb2eba0ddbd7fb331eb.tar.gz dotfiles-8021595407c5338f408afcb2eba0ddbd7fb331eb.tar.bz2 dotfiles-8021595407c5338f408afcb2eba0ddbd7fb331eb.tar.xz dotfiles-8021595407c5338f408afcb2eba0ddbd7fb331eb.zip |
Fixes 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/") |