From 97ca6f8ceb4e332b8aeca45ce29b9c5f745ad4c9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 26 Apr 2014 13:38:30 +0100 Subject: Emacs: Fix flycheck error in cask initialisation --- tag-emacs/emacs.d/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 580b5fd..b0375c4 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) -- cgit 1.4.1