From 2e58d3df19d8aba40145953a4921f4fa01d85d46 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Sat, 26 Sep 2020 20:39:58 +0800 Subject: [PATCH] (fix): add emacsql-sqlite3-executable null check (#1139) Fixes #1138 --- org-roam.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam.el b/org-roam.el index 212bda8..0ec008a 100644 --- a/org-roam.el +++ b/org-roam.el @@ -1515,7 +1515,7 @@ Otherwise, behave as if called interactively." :global t (cond (org-roam-mode - (unless (or (and (boundp 'emacsql-sqlite3-executable) + (unless (or (and (bound-and-true-p 'emacsql-sqlite3-executable) (file-executable-p emacsql-sqlite3-executable)) (executable-find "sqlite3")) (lwarn '(org-roam) :error "Cannot find executable 'sqlite3'. \