org-agenda: Fix agenda standard name when going unsticky
commitd262ae53c966c7a745c0fa779149f9eb7486333d
authorMarco Wahl <marcowahlsoft@gmail.com>
Fri, 17 Mar 2017 18:44:56 +0000 (17 19:44 +0100)
committerMarco Wahl <marcowahlsoft@gmail.com>
Fri, 17 Mar 2017 18:52:22 +0000 (17 19:52 +0100)
tree7f558e1fb648169df82ffd8ae820326b5ecaebd6
parentb5c19643d2347e4e1f4d76634b458380a46e39c4
org-agenda: Fix agenda standard name when going unsticky

* lisp/org-agenda.el (org-agenda-list): Reset `org-agenda-buffer-name'
  to the original name.
* testing/lisp/test-org-agenda.el: Pertaining unit test.  + 2 basic
  agenda tests.
* testing/examples/agenda-file.org: File to produce content for an
  agenda to test.
lisp/org-agenda.el
testing/examples/agenda-file.org [new file with mode: 0644]
testing/lisp/test-org-agenda.el [new file with mode: 0644]