From 92c839be02275d10b328bcc0858b677198bd1602 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Sep 2019 15:47:38 -0400 Subject: [PATCH] tools/magit: warn if emacsql fails to build #1751 --- modules/tools/magit/config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index b494448ff..49db4a3d8 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -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