summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-04-18 16:11:52 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-04-18 16:49:58 +0200
commitcedf376dee9580b32e17bdd513ca005a85725ac7 (patch)
tree02bc7eccb74be92fa07094350544b1392c117cda
parent0c8557b4019d0101784553bc193a4813e1976955 (diff)
downloadorg-mode-cedf376dee9580b32e17bdd513ca005a85725ac7.tar.gz
Better BATCH compile command
-rw-r--r--ChangeLog4
-rw-r--r--Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cf0833..6338d10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-18 Carsten Dominik <carsten.dominik@gmail.com>
+
+ * Makefile (BATCH): Write the BATCH command a bit more compact.
+
2010-04-05 Carsten Dominik <carsten.dominik@gmail.com>
* ORGWEBPAGE/Changes.org: More details on LaTeX headers.
diff --git a/Makefile b/Makefile
index 18b37d3..a7e14c0 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