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

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

[nongnu] elpa/emacsql 7caa63c11e 023/427: Allow any sequence for table s


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 7caa63c11e 023/427: Allow any sequence for table spec.
Date: Tue, 13 Dec 2022 02:59:24 -0500 (EST)

branch: elpa/emacsql
commit 7caa63c11ec087921bd5580847e06597ec6f2372
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Allow any sequence for table spec.
---
 emacsql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacsql.el b/emacsql.el
index a8334426ea..5f2535b923 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -215,7 +215,7 @@ If NAMED is non-nil, don't include column names."
 (defun emacsql-create (conn table spec &optional if-not-exists)
   "Create TABLE in CONN with SPEC."
   (emacsql-with-errors conn
-    (cl-loop for column in spec
+    (cl-loop for column being the elements of spec
              when (consp column)
              collect (mapconcat #'emacsql-escape column " ")
              into parts



reply via email to

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