Function: org-agenda-exit

org-agenda-exit is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-exit)

Documentation

Exit the agenda, killing Org buffers loaded by the agenda.

Like org-agenda-Quit, but kill any buffers that were created by the agenda. Org buffers visited directly by the user will not be touched. Also, exit the agenda even if it is in column view.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-exit ()
  "Exit the agenda, killing Org buffers loaded by the agenda.
Like `org-agenda-Quit', but kill any buffers that were created by
the agenda.  Org buffers visited directly by the user will not be
touched.  Also, exit the agenda even if it is in column view."
  (interactive)
  (when org-agenda-columns-active
    (org-columns-quit))
  (org-release-buffers org-agenda-new-buffers)
  (setq org-agenda-new-buffers nil)
  (org-agenda-Quit))