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

Fixes #1138
master
Jethro Kuan 6 years ago committed by GitHub
parent c05368a16b
commit 2e58d3df19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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'. \

Loading…
Cancel
Save