org-agenda.el: fix bug about wrong current span.
commite4b762af3459fc9251ee1f3c66dccd2c83e420b1
authorBastien Guerry <bzg@altern.org>
Thu, 10 Feb 2011 14:30:09 +0000 (10 15:30 +0100)
committerBastien Guerry <bzg@altern.org>
Thu, 10 Feb 2011 14:30:09 +0000 (10 15:30 +0100)
tree8b218533f160c35f3554561e2c98dea970e7a644
parent7473e3cc78c094cc07133951ee4d59baf4481761
org-agenda.el: fix bug about wrong current span.

Locally kill org-agenda-current-span as a variable, otherwise
the current value of org-agenda-current-span is taken as the
default value when redoing the buffer or calling org-agenda
with a different view.

This might be a temporary fix, as Julien is looking for a
more general solution.  See his message here:

http://article.gmane.org/gmane.emacs.orgmode/37359
lisp/org-agenda.el