summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-24 13:49:35 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-24 13:49:35 +0200
commit7c96318ab8ebaf17eed7480996b70229f36a94e8 (patch)
treed2b6c4de0ad1bc362142c9de86ddcf360dad2103 /org-roam-ui.el
parent99f7d62bd6fa5a2f0661e8ed5b89ae875e59524a (diff)
fix: changed org-roam version check
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 ba4dcab..a47fe8c 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -146,7 +146,7 @@ This serves the web-build and API over HTTP."
:group 'org-roam-ui
:init-value nil
(if (fboundp #'org-roam-version)
- (unless (eq (seq-first (org-roam-version)) 50)
+ (when (eq (seq-first (org-roam-version)) 49)
(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.")