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)) :mode (("\\.org$" . org-mode))
:bind (("C-x O a" . org-agenda) :bind (("C-x O a" . org-agenda)
("C-x O c" . org-capture) ("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 :config
(defun close-all-org-agenda-buffers () (defun kill-all-org-agenda-buffers ()
"Close all org-agenda-related buffers." "Close all org-agenda-related buffers."
(interactive) (interactive)
(dolist (buffer (buffer-list)) (dolist (buffer (buffer-list))