* lisp/org-agenda.el (org-agenda-quit): copy the code for optionally restoring window configuration after burying the sticky agenda buffer.