From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Lemerre Subject: [Florian Friesdorf] Re: Org-mode support Date: Sat, 16 Apr 2011 09:00:41 +0200 Message-ID: <8739li4r52.fsf@free.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAzNF-00058w-8j for emacs-orgmode@gnu.org; Sat, 16 Apr 2011 02:52:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAzNE-0004An-AZ for emacs-orgmode@gnu.org; Sat, 16 Apr 2011 02:52:53 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:60210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAzND-00048P-O0 for emacs-orgmode@gnu.org; Sat, 16 Apr 2011 02:52:52 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: flo@chaoflow.net --=-=-= Hi, Florian Friesdorf has suggested this patch to org-notmuch so that it is enough to require org-notmuch in user init, and it seems a good idea. Is it possible to include his patch? Thanks Matthieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-org-notmuch-require-org-for-org-add-link-type-and-ot.patch >From 4128169c3d22527342c90b675e847f4227f3b0c1 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf 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 --=-=-=--