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