emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-mac-iCal: "Import diary from iCal in agenda" doesn't work


From: Josiah Schwab
Subject: Re: [O] org-mac-iCal: "Import diary from iCal in agenda" doesn't work
Date: Fri, 04 Sep 2015 13:35:12 -0700

Hello Tobias,

On  4 September 2015 at 12:49 PDT, Tobias Frischholz wrote:

> I have a small problem with a key binding for the agenda, which should import 
> my iCal.app appointments into the diary.
>
> I have the following code from this page:
>
> (setq org-agenda custom-commands
>       '(("I" "Import diary from iCal" agenda ""
>          ((org-agenda-mode-hook
>            (lambda ()
>              (org-mac-iCal)))))))
> When I start Emacs I get this warning:
>
> Warning (initialization): An error occurred while loading 
> `/Users/friolz/.emacs.d/init.el':
>
> Symbol's value as variable is void: custom-commands

I think there's a "-" missing.  The variable name is

  org-agenda-custom-commands
            ^
Best,
Josiah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]