[oni-org] Find projects in any of my agenda files
This commit is contained in:
parent
1e45df5b61
commit
467914a556
1 changed files with 2 additions and 1 deletions
|
@ -818,7 +818,8 @@ This is an around advice for ‘org-html--svg-image’ as FUN."
|
||||||
|
|
||||||
(defun oni-org-pick-project (property)
|
(defun oni-org-pick-project (property)
|
||||||
(when (string= property "PROJECT")
|
(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)
|
(defun oni-org-link-project (value)
|
||||||
(let* ((split-value (split-string value ":"))
|
(let* ((split-value (split-string value ":"))
|
||||||
|
|
Loading…
Reference in a new issue