From: Magnus Henoch <magnus.henoch@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture + autoload
Date: Thu, 19 Aug 2010 10:32:42 +0200 [thread overview]
Message-ID: <m2fwybvw7p.fsf@erlang-solutions.com> (raw)
In-Reply-To: 817hjo5g42.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
Jambunathan K <kjambunathan@gmail.com> 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-capture.patch --]
[-- Type: text/x-patch, Size: 298 bytes --]
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.
[-- Attachment #3: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-08-19 8:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 11:12 org-capture + autoload Jambunathan K
2010-08-18 11:59 ` Jambunathan K
2010-08-18 14:30 ` Bastien
2010-08-18 15:59 ` Bernt Hansen
2010-08-18 17:22 ` Jambunathan K
2010-08-18 19:33 ` Bernt Hansen
2010-08-19 8:32 ` Magnus Henoch [this message]
2010-08-20 8:02 ` [Accepted] " Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fwybvw7p.fsf@erlang-solutions.com \
--to=magnus.henoch@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.