* Enable org-habit using add-to-list
@ 2012-08-20 12:18 Varun Vats
2012-08-20 12:29 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Varun Vats @ 2012-08-20 12:18 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hi all,
I am trying to enable the org-habit module by using add-to-list like so:
(add-to-list 'org-modules "org-habit")
The reason I want to use add-to-list and not setq is that I want to add
org-habit to the set of modules loaded by default and not re-define the set.
However, this is giving me the error -
Symbol's value as variable is void: org-modules
Any idea how I should get this sorted out? Should I add a hook?
Thank you.
--
Sincerely,
Varun Vats
Graduate Student
University of Wisconsin, Madison
mailvarunvats@gmail.com
[-- Attachment #2: Type: text/html, Size: 1387 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Enable org-habit using add-to-list
2012-08-20 12:18 Enable org-habit using add-to-list Varun Vats
@ 2012-08-20 12:29 ` Bastien
2012-08-20 13:06 ` Varun Vats
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-08-20 12:29 UTC (permalink / raw)
To: Varun Vats; +Cc: emacs-orgmode
Hi Varun,
Varun Vats <mailvarunvats@gmail.com> writes:
> Symbol's value as variable is void: org-modules
>
> Any idea how I should get this sorted out? Should I add a hook?
(require 'org)
(require 'org-install)
(add-to-list 'org-modules "org-habit")
in this order should be okay.
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Enable org-habit using add-to-list
2012-08-20 12:29 ` Bastien
@ 2012-08-20 13:06 ` Varun Vats
0 siblings, 0 replies; 3+ messages in thread
From: Varun Vats @ 2012-08-20 13:06 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
Thanks Bastien, that worked!
--
Sincerely,
Varun Vats
Graduate Student
University of Wisconsin, Madison
mailvarunvats@gmail.com
http://varunvats.com
On Mon, Aug 20, 2012 at 5:59 PM, Bastien <bzg@altern.org> wrote:
> Hi Varun,
>
> Varun Vats <mailvarunvats@gmail.com> writes:
>
> > Symbol's value as variable is void: org-modules
> >
> > Any idea how I should get this sorted out? Should I add a hook?
>
> (require 'org)
> (require 'org-install)
> (add-to-list 'org-modules "org-habit")
>
> in this order should be okay.
>
> HTH,
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 1197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-20 13:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 12:18 Enable org-habit using add-to-list Varun Vats
2012-08-20 12:29 ` Bastien
2012-08-20 13:06 ` Varun Vats
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.