branch: elpa/emacsql
commit 7caa63c11ec087921bd5580847e06597ec6f2372
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@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