emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/sqlite3 40e3c9b6a8 61/62: Compile without prompting in non


From: ELPA Syncer
Subject: [nongnu] elpa/sqlite3 40e3c9b6a8 61/62: Compile without prompting in non-interactive session
Date: Tue, 14 Mar 2023 11:01:49 -0400 (EDT)

branch: elpa/sqlite3
commit 40e3c9b6a8e6241e50ede879933230bf4b9bb04b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Compile without prompting in non-interactive session
---
 sqlite3.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sqlite3.el b/sqlite3.el
index 9b4f3a1823..09f7f5516c 100644
--- a/sqlite3.el
+++ b/sqlite3.el
@@ -36,7 +36,8 @@
 
 (cl-eval-when (load eval)
   (unless (require 'sqlite3-api nil t)
-    (if (yes-or-no-p "sqlite3-api module must be built.  Do so now? ")
+    (if (or noninteractive
+            (yes-or-no-p "sqlite3-api module must be built.  Do so now? "))
         (let ((default-directory (file-name-directory (or load-file-name
                                                           buffer-file-name))))
           (with-temp-buffer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]