diff options
author | Alan Pearce | 2014-04-26 13:38:30 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-26 13:39:10 +0100 |
commit | 97ca6f8ceb4e332b8aeca45ce29b9c5f745ad4c9 (patch) | |
tree | 6a0f7c0da0fbef4cebb56e84a5297553002ffdbd /tag-emacs/emacs.d | |
parent | 22bcda566ad643c23581fd4c0405e1729e127f60 (diff) | |
download | nixfiles-97ca6f8ceb4e332b8aeca45ce29b9c5f745ad4c9.tar.lz nixfiles-97ca6f8ceb4e332b8aeca45ce29b9c5f745ad4c9.tar.zst nixfiles-97ca6f8ceb4e332b8aeca45ce29b9c5f745ad4c9.zip |
Emacs: Fix flycheck error in cask initialisation
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 580b5fdc..b0375c42 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -35,8 +35,9 @@ ;;;; Package Management (add-to-list 'load-path (expand-file-name "elisp/" user-emacs-directory)) -(add-to-list 'load-path (expand-file-name "~/.cask")) -(require 'cask) +(eval-and-compile + (add-to-list 'load-path (expand-file-name "~/.cask")) + (require 'cask)) (cask-initialize) (require 'req-package) |