diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 41937b35c..351a6911e 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7255,7 +7255,7 @@ agenda." (not (one-window-p)) (delete-window)))) (if bury - (bury-buffer buf) + (bury-buffer) (kill-buffer buf) (setq org-agenda-archives-mode nil org-agenda-buffer nil)))))