summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-09-21 19:07:40 +0200
committerThomas F. K. Jorna <[email protected]>2021-09-21 19:07:40 +0200
commit93d83d59f4cc2a8b60ad1009f17c2bd5a0f7dd7a (patch)
treeca7a6309a97c6269774782b4f3b56bb3fb0384ba /org-roam-ui.el
parentcd1aefd56f648d32a25aae672ac1ab90893c0133 (diff)
fix: make org-roam-version check more robust
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 45849b7..c0cc27f 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -150,7 +150,7 @@ This serves the web-build and API over HTTP."
:group 'org-roam-ui
:init-value nil
(if (fboundp #'org-roam-version)
- (when (eq (seq-first (org-roam-version)) 49)
+ (when (and (eq (seq-first (org-roam-version)) 49) (eq (elt (org-roam-version) 1) "63"))
(message "You are running org-roam %s. Org-roam-ui is only compatible with v2, please upgrade." (org-roam-version))
(setq org-roam-ui-mode -1))
(message "Org-roam is either not installed or not running. Please fix this.")