Disable refile verification when jumping to any Org item

Any item could be of interest, not only those that are valid refile
targets.

This might be slow.  May we should not be using the refile mechanism to
jump to any item?
This commit is contained in:
Daniel - 2024-04-01 11:16:15 +02:00
parent 840f10cab9
commit 1f348e256d
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 5 additions and 1 deletions

View File

@ -1051,7 +1051,11 @@ Current Task: %s(replace-regexp-in-string \"%\" \"%%\" (or org-clock-current-tas
(->> (org-agenda-files :unrestricted)
cl-first
get-file-buffer)
(org-refile '(4)))
;; Show all possible items, i.e. exclude refile verification; since the
;; cache includes only verified items, also disable it locally.
(let ((org-refile-use-cache nil)
(org-refile-target-verify-function nil))
(org-refile '(4))))
nil)
("s" (db/org-clock-goto-first-open-checkbox t)
nil))