First, thanks a lot for org-notmuch!

I attached a minimal patch to require org so it is enough to require
org-notmuch in user init.

From 4128169c3d22527342c90b675e847f4227f3b0c1 Mon Sep 17 00:00:00 2001
From: Florian Friesdorf <[email protected]>
Date: Thu, 14 Apr 2011 14:44:54 +0200
Subject: [PATCH] org-notmuch: require org for org-add-link-type and others

---
 contrib/lisp/org-notmuch.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/lisp/org-notmuch.el b/contrib/lisp/org-notmuch.el
index 9cde34f..9283385 100644
--- a/contrib/lisp/org-notmuch.el
+++ b/contrib/lisp/org-notmuch.el
@@ -41,6 +41,8 @@
 
 ;;; Code:
 
+(require 'org)
+
 ;; Install the link type
 (org-add-link-type "notmuch" 'org-notmuch-open)
 (add-hook 'org-store-link-functions 'org-notmuch-store-link)
-- 
1.7.4.4

-- 
Florian Friesdorf <[email protected]>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

Attachment: pgpiqOe8zTngr.pgp
Description: PGP signature

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to