key binding

This commit is contained in:
Levi 2024-08-30 12:03:31 +02:00
parent b53f941024
commit 835ac2cf09
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@
:mode (("\\.org$" . org-mode))
:bind (("C-x O a" . org-agenda)
("C-x O c" . org-capture)
("C-x O A" . close-all-org-agenda-buffers))
("C-x O k a" . kill-all-org-agenda-buffers))
:config
(defun close-all-org-agenda-buffers ()
(defun kill-all-org-agenda-buffers ()
"Close all org-agenda-related buffers."
(interactive)
(dolist (buffer (buffer-list))