[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.
This commit is contained in:
parent
73cb112dc8
commit
6ec18c21df
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue