From 6ec18c21df661fa4a8c9ff2617a917b5f80546b3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Jan 2022 22:57:55 -0800 Subject: [PATCH] =?UTF-8?q?[oni-org-roam]=20Add=20additional=20properties?= =?UTF-8?q?=20to=20=E2=80=98org-mode=E2=80=99=20on=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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)