From 6ec18c21df661fa4a8c9ff2617a917b5f80546b3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Jan 2022 22:57:55 -0800 Subject: [oni-org-roam] Add additional properties to ‘org-mode’ on load Add the ‘ROAM_REFS’ and ‘ROAM_ALIASES’ properties to ‘org-default-properties’ so that they're included for completion when setting properties. --- oni-org-roam.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/oni-org-roam.el b/oni-org-roam.el index 3629c85..287ea62 100644 --- a/oni-org-roam.el +++ b/oni-org-roam.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.1116.222944 +;; Version: 2022.0103.225707 ;; Package-Requires: (oni-org org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -58,6 +58,13 @@ (advice-add 'org-agenda :before #'oni-org-roam-update-todo-files) +;;; These two properties are used a lot when working in ‘org-roam'. ‘ROAM_REFS' +;;; is used to specify a URL that (if pointed to) should be considered a +;;; reference to a particular note. ‘ROAM_ALIASES' sets up additional names for +;;; a note. +(add-to-list 'org-default-properties "ROAM_REFS") +(add-to-list 'org-default-properties "ROAM_ALIASES") + ;;;###autoload (setq org-roam-v2-ack t) -- cgit v1.2.3-54-g00ecf