summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2024-02-05 07:08:28 -0800
committerEric Abrahamsen <eric@ericabrahamsen.net>2024-02-05 07:08:28 -0800
commit058f30a996eb9074feac8f94db4eb49e85ae08f1 (patch)
tree99657956f030ea63f728aa9092bcfc388852bd21
parentb96e5470c54503eab2159e69c822648ad55e6915 (diff)
Protect against non-existent org-roam
* ebdb-roam.el: The library could very well not be installed. Fix variable name.
-rw-r--r--ebdb-roam.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebdb-roam.el b/ebdb-roam.el
index 80da262..4dc35dc 100644
--- a/ebdb-roam.el
+++ b/ebdb-roam.el
@@ -24,7 +24,7 @@
(require 'ebdb)
(require 'ebdb-format)
-(require 'org-roam-node)
+(require 'org-roam-node nil t) ;It's normal if this package is missing!
;; org-roam-buffer Section
@@ -75,7 +75,7 @@ should be an instance of `ebdb-formatter', with a default of
`ebdb-default-multiline-formatter'."
(when-let ((uuid-list (ebdb-roam--get-links node)))
(magit-insert-section (org-roam-ebdb-section)
- (magit-insert-heading header)
+ (magit-insert-heading heading)
(dolist (uuid uuid-list)
(when-let ((entry (ebdb-gethash uuid 'uuid)))
(insert (ebdb-fmt-record record-formatter entry))))