Remember to incorporate org-refile-target-verify-function
This commit is contained in:
parent
d6ea954434
commit
4e59c1467d
@ -495,7 +495,10 @@ Also note that the usual variables governing the behavior of
|
|||||||
(when new-nodes
|
(when new-nodes
|
||||||
(warn "Cannot create new nodes (yet) with consult interface for `org-refile'"))
|
(warn "Cannot create new nodes (yet) with consult interface for `org-refile'"))
|
||||||
(let ((pom (with-current-buffer (or default-buffer (current-buffer))
|
(let ((pom (with-current-buffer (or default-buffer (current-buffer))
|
||||||
(db/org-get-location t nil (concat prompt " "))))) ; TODO: incorporate verify function
|
(db/org-get-location t nil (concat prompt " "))))) ; TODO: incorporate verify
|
||||||
|
; function, use direct call to
|
||||||
|
; consult--read for this and
|
||||||
|
; replace the :predicate key?
|
||||||
(list (buffer-name (marker-buffer pom))
|
(list (buffer-name (marker-buffer pom))
|
||||||
(buffer-file-name (marker-buffer pom))
|
(buffer-file-name (marker-buffer pom))
|
||||||
;; The third entry is some regexp matching the headline, apparently?
|
;; The third entry is some regexp matching the headline, apparently?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user