From cedf376dee9580b32e17bdd513ca005a85725ac7 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sun, 18 Apr 2010 16:11:52 +0200 Subject: [PATCH] Better BATCH compile command --- ChangeLog | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2cf083343..6338d109c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-18 Carsten Dominik + + * Makefile (BATCH): Write the BATCH command a bit more compact. + 2010-04-05 Carsten Dominik * ORGWEBPAGE/Changes.org: More details on LaTeX headers. diff --git a/Makefile b/Makefile index 18b37d38b..a7e14c05f 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ infodir = $(prefix)/share/info # Using emacs in batch mode. BATCH=$(EMACS) -batch -q -no-site-file -eval \ - "(progn (add-to-list (quote load-path) \"$(lispdir)\") (add-to-list (quote load-path) (expand-file-name \"./lisp/\")))" + "(setq load-path (cons (expand-file-name \"./lisp/\") (cons \"$(lispdir)\" load-path)))" # Specify the byte-compiler for compiling org-mode files ELC= $(BATCH) -f batch-byte-compile