Go to Org item when trying to insert checklist directly in agenda

This is expected behavior in my point of view.
This commit is contained in:
Daniel - 2023-05-13 10:30:29 +02:00
parent 8e192e5cfb
commit 0b315f44a3
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 3 additions and 0 deletions

View File

@ -1077,6 +1077,9 @@ When ARG is given, jump to the current template instead of
inserting the checklist."
(interactive "P")
(when (derived-mode-p 'org-agenda-mode)
(org-agenda-goto))
(unless (derived-mode-p 'org-mode)
(user-error "Not in Org mode, aborting"))