(fix): add emacsql-sqlite3-executable null check (#1139)

Fixes #1138
This commit is contained in:
Jethro Kuan
2020-09-26 20:39:58 +08:00
committed by GitHub
parent c05368a16b
commit 2e58d3df19

View File

@@ -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'. \