[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 02acd07072 328/427: Ensure executable variable is
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 02acd07072 328/427: Ensure executable variable is defined at compile time. |
Date: |
Tue, 13 Dec 2022 02:59:57 -0500 (EST) |
branch: elpa/emacsql
commit 02acd07072811f07e0ad487ef0f5d950cbdd81fa
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Ensure executable variable is defined at compile time.
---
emacsql-sqlite.el | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index b9beb47750..73e1f803f4 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -45,13 +45,14 @@ version."
;;; SQLite connection
-(defvar emacsql-sqlite-executable
- (expand-file-name (format "bin/emacsql-sqlite-%s%s" (emacsql-system-tuple)
- (if (memq system-type '(windows-nt cygwin ms-dos))
- ".exe"
- ""))
- emacsql-data-root)
- "Path to the EmacSQL backend (this is not the sqlite3 shell).")
+(cl-eval-when (load compile)
+ (defvar emacsql-sqlite-executable
+ (expand-file-name (format "bin/emacsql-sqlite-%s%s" (emacsql-system-tuple)
+ (if (memq system-type '(windows-nt cygwin
ms-dos))
+ ".exe"
+ ""))
+ emacsql-data-root)
+ "Path to the EmacSQL backend (this is not the sqlite3 shell)."))
(defvar emacsql-sqlite-reserved
(emacsql-register-reserved
- [nongnu] elpa/emacsql da2b137771 289/427: Fix the parameter naming in emacsql-show-last-sql., (continued)
- [nongnu] elpa/emacsql da2b137771 289/427: Fix the parameter naming in emacsql-show-last-sql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c1ede49bbe 283/427: Update headers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 965039cec2 314/427: Adjust header lines for each back-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 57c40202e8 307/427: Set correct default transaction type in PostgreSQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7b505b6e94 309/427: Update back-end documentation., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 649fc6b0b4 312/427: Add emacsql-pg using pg.el as a back-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4a535e2cca 318/427: Fix typo in emacsql-buffer's doc-string, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a5a0c2f838 323/427: Fix typo, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e6ce8ded45 326/427: Require url when running emacsql-sqlite-download, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 01f3d3eb2b 316/427: Fallback to buffer-file-name when load-file-name is nil, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 02acd07072 328/427: Ensure executable variable is defined at compile time.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 2ffcc95c67 338/427: Fix a typo in the doc-string of emacsql-with-params., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 74bd11bc09 334/427: Fix up package description headers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 5df2891557 349/427: Use cl-generic package, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e8c090e11f 353/427: Improve Makefile portability and dump Cask, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 0ba12b89d5 084/427: Drop "work in progress.", ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 364bf466ea 086/427: Linkify the issue in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dd3f153406 089/427: Drop old with-errors macro., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 72c1954517 096/427: Block on connection until the output has flushed., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1e9857ccc4 103/427: Allow variables inside vectors., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 8a66563af6 105/427: Combine :insert and :into., ELPA Syncer, 2022/12/13