Fix bug when redoing a block agenda command.
commitc6dbde1babaa0b2efa278d75a6ec82f91ef59d5e
authorBastien Guerry <bzg@altern.org>
Fri, 18 Feb 2011 14:15:54 +0000 (18 15:15 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 18 Feb 2011 14:15:54 +0000 (18 15:15 +0100)
tree84d3aa404a9c195b47b6668cc3ab0581ed5c2528
parent10d76f720a1f32e7fa73cb3359c1beae2b72da84
Fix bug when redoing a block agenda command.

* org-agenda.el (org-agenda): Set the 'last-args property to
nil when calling `org-agenda'.  Don't kill the local variable
`org-agenda-current-span'.
(org-run-agenda-series): Use the new property 'last-args.
(org-agenda-change-time-span): Use the dynamically set
`org-agenda-overriding-arguments' variable when non-nil.

Thanks to Matt Lundin and Michael Brand for reporting this.
lisp/org-agenda.el