[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: org-capture + autoload
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: org-capture + autoload |
Date: |
Wed, 18 Aug 2010 15:33:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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.
>
> > Add
> > (require 'org-capture)
> > to your .emacs
>
> I was wondering whether the symbol could be 'autoloaded' just as the
> org-capture defun is autoloaded.
The org-capture file is autoloaded now the first time you use it ... and
you want the definitions before you use it so you need to load it
explicitly first -- which is what the above require does I think.
I'm not aware of anything like that for symbols but I'm not an emacs
lisp expert by any means.
-Bernt