(fix): fix emacsql-sqlite3 check (#1142)

This commit is contained in:
Jethro Kuan
2020-09-27 02:14:27 +08:00
committed by GitHub
parent 2e58d3df19
commit fadb515a87

View File

@ -1515,7 +1515,7 @@ Otherwise, behave as if called interactively."
:global t
(cond
(org-roam-mode
(unless (or (and (bound-and-true-p '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'. \