From 474f963e21b0cf30cb5ad313e1656aea0c276d0c Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander.sulfrian@fu-berlin.de>
Date: Fri, 1 Jun 2012 10:42:23 +0200
Subject: emacs: do not error, if load of self-compile-mode fails

with this change it is possible to compile the emacs file with
    emacs -batch -f batch-byte-compile "~/.dotfiles/emacs"
---
 emacs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'emacs')

diff --git a/emacs b/emacs
index b6df919..2bf9884 100644
--- a/emacs
+++ b/emacs
@@ -180,7 +180,7 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.")
 
 
 ;; auto compile files
-(require 'self-compile-mode)
+(require 'self-compile-mode nil 'noerror)
 
 ;; keine Abfrage wenn ein template existiert
 (when (require 'template nil 'noerror)
-- 
cgit v1.2.3