tools/magit: warn if emacsql fails to build #1751

This commit is contained in:
Henrik Lissner 2019-09-03 15:47:38 -04:00
parent 005647fd64
commit 92c839be02
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -95,7 +95,10 @@ disabled that in `+magit--forge-get-repository-lazily-a', we must manually
ensure it is built when we actually use Forge."
:before #'forge-dispatch
(unless (file-executable-p emacsql-sqlite-executable)
(emacsql-sqlite-compile 2))))
(emacsql-sqlite-compile 2)
(unless (file-executable-p emacsql-sqlite-executable)
(message (concat "Failed to build emacsql; forge may not work correctly.\n"
"See *Compile-Log* buffer for details"))))))
(use-package! magit-todos