1
0
Fork 0

[oni-org] Find projects in any of my agenda files

This commit is contained in:
Tom Willemse 2022-05-26 01:31:24 -07:00
parent 1e45df5b61
commit 467914a556

View file

@ -818,7 +818,8 @@ This is an around advice for org-html--svg-image as FUN."
(defun oni-org-pick-project (property)
(when (string= property "PROJECT")
(org-map-entries (lambda () (concat (buffer-name) ":" (mapconcat (lambda (x) x) (org-get-outline-path t) ":"))) "CATEGORY=\"project\"")))
(org-map-entries (lambda () (concat (buffer-name) ":" (mapconcat (lambda (x) x) (org-get-outline-path t) ":"))) "CATEGORY=\"project\""
org-agenda-files)))
(defun oni-org-link-project (value)
(let* ((split-value (split-string value ":"))