From 7c96318ab8ebaf17eed7480996b70229f36a94e8 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 24 Aug 2021 13:49:35 +0200 Subject: fix: changed org-roam version check --- org-roam-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org-roam-ui.el') 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.") -- cgit v1.2.3