org-agenda.el: Use the current command's match to set the buffer name
commit89cdbda63e292806d681f87fdba90399a0c09df2
authorBastien Guerry <bzg@altern.org>
Tue, 28 Aug 2012 11:02:01 +0000 (28 13:02 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 28 Aug 2012 11:02:01 +0000 (28 13:02 +0200)
tree2810b5c2c444dd8a4133baabb7324e6d4a388e88
parent9c2b17bac3d3dccfa37c4ae83097faebbdd0f285
org-agenda.el: Use the current command's match to set the buffer name

* org-agenda.el (org-agenda): In sticky agendas, use the
current command's match to set the buffer name.  This gives
more information to the user and allows to distinguish various
agendas triggered by the same key.
(org-batch-store-agenda-views): Handle the new sticky agenda
buffer name.
lisp/org-agenda.el