diff options
author | Tom Willemse | 2022-01-03 22:57:55 -0800 |
---|---|---|
committer | Tom Willemse | 2022-01-03 22:57:55 -0800 |
commit | 6ec18c21df661fa4a8c9ff2617a917b5f80546b3 (patch) | |
tree | a48aa0139d541d44fb5368625d73d147a470ad87 /oni-org-roam.el | |
parent | 73cb112dc8b9eb88772a982055ec6386dac07431 (diff) | |
download | emacs-config-6ec18c21df661fa4a8c9ff2617a917b5f80546b3.tar.gz emacs-config-6ec18c21df661fa4a8c9ff2617a917b5f80546b3.zip |
[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.
Diffstat (limited to 'oni-org-roam.el')
-rw-r--r-- | oni-org-roam.el | 9 |
1 files changed, 8 insertions, 1 deletions
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 <tom@ryuslash.org> ;; 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) |