Hi Graham, this means that your Preferences.el file tries to modify the org- agenda-mode-map before org-agenda.el was loaded. The best fix is to do your key assignments in org-agenda-mode-hook, i.e. (add-hook 'org-agenda-mode-hook (lambda () (define-key org-agenda-mode-map ......))) HTH - Carsten On Aug 8, 2008, at 9:19 PM, Graham Smith wrote: > I hav just upgraded to org-mode 6.06b with Aquaemacs 1.4. > > I did this by copying the new files into my existing orgmode > directory where the prefeences.el file points. > > But launching emacs gives the following error: > > "An error has occurred while loading `~/Library/Preferences/Aquamacs > Emacs/Preferences.el (or .elc)': > > Symbol's value as variable is void: org-agenda-mode-map" > > Can any one suggest where the problem might be? > > Thanks, > > Graham > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode