Right now making a timeline agenda of an indirect buffer causes a crash.
I think it's because buffer-file-name is null for such buffers,
so in the call
(org-prepare-agenda (concat "Timeline "
(file-name-nondirectory buffer-file-name)))
the file-name-nondirectory call fails.