From 474f963e21b0cf30cb5ad313e1656aea0c276d0c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian 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 +- emacs.elc | Bin 11325 -> 11343 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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) diff --git a/emacs.elc b/emacs.elc index 4c295b1..45c4007 100644 Binary files a/emacs.elc and b/emacs.elc differ -- cgit v1.2.3