[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Global Task List
From: |
Olaf Dietsche |
Subject: |
Re: [O] Global Task List |
Date: |
Fri, 11 Nov 2011 21:24:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Cameron Seader <address@hidden> writes:
> I get an error when setting the variable to a folder
>
> Here is my .emacs file
>
> ;; Org-mode settings
> (require 'org-install)
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (global-set-key "\C-cb" 'org-iswitchb)
> (global-font-lock-mode 1)
> (setq org-log-done t)
> (setq org-agenda-custom-commands
> ((org-agenda-files '("~/Documents/Notes/org/"))
> ))
>
> (setq inhibit-splash-screen t)
>
> I get the following error when my .emacs file is initialized.
>
> Invalid function: (org-agenda-files (quote (~/Documents/Notes/org/)))
you mixed org-agenda-custom-commands and org-agenda-files. You can set
org-agenda-files as part of org-agenda-custom-commands, but then you
have to define at least one private command as well.
An easier way to start is just setting org-agenda-files alone.
Either with `setq':
(setq org-agenda-files "~/Documents/Notes/org/")
or with `custom-set-variables':
(custom-set-variables
'(org-agenda-files "~/Documents/Notes/org/"))
Regards, Olaf