From b4b1b48e26ddc24ce8d7b681cdffd0251a3fd306 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Tue, 9 Jul 2024 14:55:51 +0200 Subject: [PATCH] nit(org): update outdated comment Amend: b0e16dc24332 --- modules/lang/org/config.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 1571110c1..8e2fe5550 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -780,9 +780,9 @@ mutating hooks on exported output, like formatters." (defadvice! +org--restart-mode-before-indirect-buffer-a (&optional buffer _) "Restart `org-mode' in buffers in which the mode has been deferred (see `+org-defer-mode-in-agenda-buffers-h') before they become the base buffer for an -indirect buffer. This ensures that the buffer is fully functional not only when -the *user* visits it, but also when some code interacts with it via an indirect -buffer as done, e.g., by `org-capture'." +indirect org-cpature buffer. This ensures that the buffer is fully functional +not only when the *user* visits it, but also when org-capture interacts with it +via an indirect buffer." :before #'org-capture-get-indirect-buffer (with-current-buffer (or buffer (current-buffer)) (when (memq #'+org--restart-mode-h doom-switch-buffer-hook)