emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Varun Vats <mailvarunvats@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Enable org-habit using add-to-list
Date: Mon, 20 Aug 2012 17:48:25 +0530	[thread overview]
Message-ID: <CADWkGHL0NsdXJZ91JizgaCCZZM+TBME-Cx2O7tiRDGhiRgLOqg@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2012-08-20 12:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 12:18 Varun Vats [this message]
2012-08-20 12:29 ` Enable org-habit using add-to-list Bastien
2012-08-20 13:06   ` Varun Vats

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADWkGHL0NsdXJZ91JizgaCCZZM+TBME-Cx2O7tiRDGhiRgLOqg@mail.gmail.com \
    --to=mailvarunvats@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).