From 93d83d59f4cc2a8b60ad1009f17c2bd5a0f7dd7a Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 21 Sep 2021 19:07:40 +0200 Subject: fix: make org-roam-version check more robust --- 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 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.") -- cgit v1.2.3