unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Add the emacs directory to the load-path when byte compiling.
@ 2010-03-12 12:57 David Edmondson
  2010-03-12 13:07 ` David Edmondson
  2010-03-12 13:08 ` David Edmondson
  0 siblings, 2 replies; 3+ messages in thread
From: David Edmondson @ 2010-03-12 12:57 UTC (permalink / raw)
  To: notmuch

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 $@) ; \
-- 
1.7.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add the emacs directory to the load-path when byte compiling.
  2010-03-12 12:57 [PATCH] Add the emacs directory to the load-path when byte compiling David Edmondson
@ 2010-03-12 13:07 ` David Edmondson
  2010-03-12 13:08 ` David Edmondson
  1 sibling, 0 replies; 3+ messages in thread
From: David Edmondson @ 2010-03-12 13:07 UTC (permalink / raw)
  To: notmuch

Sorry, I just (re?)read the submission guidelines. I'll send another
version that attempts to comply.

dme.
-- 
David Edmondson, http://dme.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] Add the emacs directory to the load-path when byte compiling
  2010-03-12 12:57 [PATCH] Add the emacs directory to the load-path when byte compiling David Edmondson
  2010-03-12 13:07 ` David Edmondson
@ 2010-03-12 13:08 ` David Edmondson
  1 sibling, 0 replies; 3+ messages in thread
From: David Edmondson @ 2010-03-12 13:08 UTC (permalink / raw)
  To: notmuch

When the emacs UI is split into multiple files they are likely to be
interdependent. Adding the emacs directory to the load-path means that
one file will be able to `require' another.

Signed-off-by: David Edmondson <dme@dme.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 $@) ; \
-- 
1.7.0


dme.
-- 
David Edmondson, http://dme.org

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-12 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 12:57 [PATCH] Add the emacs directory to the load-path when byte compiling David Edmondson
2010-03-12 13:07 ` David Edmondson
2010-03-12 13:08 ` David Edmondson

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).