From 2f5e751c007fbb9722a049029c965c106f895d95 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Dec 2013 15:43:25 +0100 Subject: Make sure packages are available for compilation --- .emacs.d/init.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d1407ab..6eff826 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2,6 +2,14 @@ ;;; Commentary: ;;; Code: +(eval-when-compile + (package-initialize) + + (require 'cl) + (require 'esh-io) + (require 'esh-proc) + (require 'dash)) + ;;;; Macros (defmacro stante-after (feature &rest forms) "After FEATURE is loaded, evaluate FORMS. @@ -278,14 +286,6 @@ MODE1 is enabled and vice-versa." (global-set-key (kbd "C-c -") #'decrease-number-at-point) (global-set-key (kbd "C-c +") #'increase-number-at-point) -(eval-when-compile - (package-initialize) - - (require 'cl) - (require 'esh-io) - (require 'esh-proc) - (require 'dash)) - (autoload 'jabber-connect "jabber" nil t) (autoload 'jabber-message-libnotify "jabber-libnotify") (autoload 'jabber-muc-libnotify "jabber-libnotify") -- cgit v1.2.3-54-g00ecf