aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org-roam.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-03-25 20:20:04 -0700
committerGravatar Tom Willemse2021-03-25 20:20:04 -0700
commitdd9fedf8ff6b587586369ca634109a62e7270f8e (patch)
tree3205f3f16388e18be7ac154ee1faf9e08ad090f4 /oni-org-roam.el
parent0e0f464a6573287831558a7a2372be314f21a81f (diff)
downloademacs-config-dd9fedf8ff6b587586369ca634109a62e7270f8e.tar.gz
emacs-config-dd9fedf8ff6b587586369ca634109a62e7270f8e.zip
Decouple ‘oni-org’ and ‘oni-org-roam’
‘org-roam’ doesn’t seem to work correctly on all the machines that I use ‘org-mode’ on.
Diffstat (limited to 'oni-org-roam.el')
-rw-r--r--oni-org-roam.el38
1 files changed, 38 insertions, 0 deletions
diff --git a/oni-org-roam.el b/oni-org-roam.el
new file mode 100644
index 0000000..b157b1c
--- /dev/null
+++ b/oni-org-roam.el
@@ -0,0 +1,38 @@
+;;; oni-org-roam.el --- Configuration for org-roam -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2021 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+;; Version: 2021.0325.201203
+;; Package-Requires: (oni-org org-roam)
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Configuration specific to ‘org-roam’.
+
+;;; Code:
+
+(require 'org-roam)
+
+(setq org-roam-directory (expand-file-name "~/documents/org/"))
+
+(org-roam-mode)
+
+;;;###autoload(with-eval-after-load 'org-roam (require 'oni-org-roam))
+
+(provide 'oni-org-roam)
+;;; oni-org-roam.el ends here