diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index d6d6024..615c46b 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -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 ":"))