Use consult function to provide org-goto

`org-goto` does not work as before, as our custom Org refile location query function does not honor
the `org-refile-targets` variable.  So, let's just use `consult-org-heading` directly, since this is
what I want.
This commit is contained in:
Daniel Borchmann 2025-08-17 17:52:01 +02:00
parent 8c5cdd00bd
commit 4dd695a333
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -741,7 +741,8 @@ split horizontally again, but this extra work should not matter much."
:pin "gnu"
:bind (:map org-mode-map
([remap org-return] . (lambda () (interactive) (org-return :indent)))
([remap org-clock-goto] . db/org-clock-goto-first-open-checkbox))
([remap org-clock-goto] . db/org-clock-goto-first-open-checkbox)
([remap org-goto] . consult-org-heading))
:autoload (org-get-todo-state
org-entry-get)
:commands (org-return)