From cc3aa6f532ed83b3dba618f2baf1b13992936fcd Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 20 Jun 2022 09:16:34 -0700 Subject: [PATCH] [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. --- oni-org/oni-org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 3a8658d..dcb1736 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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) ;; 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-id + (setq org-id-link-to-org-use-id 'use-existing)) ;;;; Agenda