Patchworkβ Add the emacs directory to the load-path when byte compiling.

login
register
about
Submitter David Edmondson
Date 2010-03-12 12:57:09
Message ID <1268398629-28163-1-git-send-email-dme@dme.org>
Download mbox | patch
Permalink /patch/422/
State New
Headers show

Comments

David Edmondson - 2010-03-12 12:57:09
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Edmondson - 2010-03-12 13:07:19
Sorry, I just (re?)read the submission guidelines. I'll send another
version that attempts to comply.

dme.

Patch

diff --git a/Makefile b/Makefile
index 46f001c..f0b96e0 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@  quiet ?= $($1)
 	$(call quiet,CC,$(CFLAGS)) -c $(FINAL_CFLAGS) $< -o $@
 
 %.elc: %.el
-	$(call quiet,EMACS) -batch -f batch-byte-compile $<
+	$(call quiet,EMACS) -batch -L emacs -f batch-byte-compile $<
 
 .deps/%.d: %.c $(global_deps)
 	@set -e; rm -f $@; mkdir -p $$(dirname $@) ; \