mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): Check sqlite3’s executability using boundp (#954)
Fixes #837. The existing merged fixes do not actually work, because fboundp tests for a function.
This commit is contained in:
@ -1297,7 +1297,7 @@ Otherwise, behave as if called interactively."
|
||||
:global t
|
||||
(cond
|
||||
(org-roam-mode
|
||||
(unless (or (and (fboundp 'emacsql-sqlite3-executable)
|
||||
(unless (or (and (boundp 'emacsql-sqlite3-executable)
|
||||
(file-executable-p emacsql-sqlite3-executable))
|
||||
(executable-find "sqlite3"))
|
||||
(lwarn '(org-roam) :error "Cannot find executable 'sqlite3'. \
|
||||
|
Reference in New Issue
Block a user