emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: org-capture + autoload


From: Magnus Henoch
Subject: [Orgmode] Re: org-capture + autoload
Date: Thu, 19 Aug 2010 10:32:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin)

Jambunathan K <address@hidden> writes:

> It would be convenient if I could do a 
>
> M-x customize-group org-capture and/or 
> M-x customize-variable org-capture-templates
>
> without having triggered a prior org-capture.
>
> For now, I trigger a capture, abort it and then proceed ahead with
> customizing these.

Here is a patch that adds an "autoload cookie" for
org-capture-templates.  After recompiling, org-install.el should contain
an autoload declaration for org-capture-templates.

Let's see if the patch tracker likes me :)

Magnus

diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index c0e41f3..e544964 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -76,6 +76,7 @@
   :tag "Org Capture"
   :group 'org)
 
+;;;###autoload
 (defcustom org-capture-templates nil
   "Templates for the creation of new entries.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]