aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-03-29 10:00:50 -0700
committerGravatar Tom Willemse2021-03-29 10:00:50 -0700
commit1b6972b09f2ca76a1d2d263475d4a0c2830b8ade (patch)
tree3f39d276b9d28ebed2cfdcaa096baa47e399139d /oni-org
parent1e0da964a403fa581551d174841ea3624cd77e35 (diff)
downloademacs-config-1b6972b09f2ca76a1d2d263475d4a0c2830b8ade.tar.gz
emacs-config-1b6972b09f2ca76a1d2d263475d4a0c2830b8ade.zip
Fix ‘org-roam-insert-immediate’ use in ‘oni-hydra-org’
This still probably calls ‘org-roam-insert-immediate’ incorrectly, but it fixes it for my current use case. I’ve changed the call to ‘org-roam-find-file’ in a similar manner in case it ever starts asking me interactively for things.
Diffstat (limited to 'oni-org')
-rw-r--r--oni-org/oni-org.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index c5b3b5d..ae53cb1 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0325.201211
+;; Version: 2021.0329.100019
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal)
;; This program is free software; you can redistribute it and/or modify
@@ -142,10 +142,10 @@ _l_: Store link ^^ _j_: Journal entry
("A" (org-capture nil "a"))
("j" (org-capture nil "j"))
("f" (if (require 'oni-org-roam nil t)
- (org-roam-find-file)
+ (call-interactively 'org-roam-find-file)
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’")))
("i" (if (require 'oni-org-roam nil t)
- (org-roam-insert-immediate)
+ (call-interactively 'org-roam-insert-immediate)
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’"))))
(defun oni-org-in-dblock-p ()