Selaa lähdekoodia

Better BATCH compile command

Carsten Dominik 15 vuotta sitten
vanhempi
commit
cedf376dee
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 4 0
      ChangeLog
  2. 1 1
      Makefile

+ 4 - 0
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.

+ 1 - 1
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