[oni-org] Use IDs for org-mode links if a heading has one
I don't want to set it up to always use an ID just yet because I'm not sure how well that will work with programs like Orgzly and Orgro which don't support using ID.
This commit is contained in:
parent
f0bf02d9ec
commit
cc3aa6f532
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2022.0620.091137
|
;; Version: 2022.0620.091626
|
||||||
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti)
|
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -525,6 +525,8 @@ also move point to the start of the heading."
|
||||||
|
|
||||||
(with-eval-after-load 'org-edna (diminish 'org-edna-mode))
|
(with-eval-after-load 'org-edna (diminish 'org-edna-mode))
|
||||||
|
|
||||||
|
(with-eval-after-load 'org-id
|
||||||
|
(setq org-id-link-to-org-use-id 'use-existing))
|
||||||
|
|
||||||
;;;; Agenda
|
;;;; Agenda
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue