However, when I view the agenda for the current buffer (by pressing "c", every key I press gives me "Wrong type argument: stringp, nil".
The "Home Buffer" custom command above works fine.
I know that you can easily restrict the agenda to the current file by pressing "<" in the dispatcher, but I'm just hacking around and seeing how org-mode and lisp works.
I'm using a bare-bones org-configuration:
Emacs : GNU Emacs 23.1.93.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2010-03-09 on braeburn.aquamacs.org - Aquamacs Distribution 2.0preview5 Package: Org-mode version 6.35 (release_6.35g.25.g609e.dirty)