branch: elpa/emacsql commit 8c46fb2c1ecbc1c6e0602803eafe49ae32b50257 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Drop argument count check since it's wrong. --- emacsql-compiler.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/emacsql-compiler.el b/emacsql-compiler.el index 4fbb53b127..8f0e829f10 100644 --- a/emacsql-compiler.el +++ b/emacsql-compiler.el @@ -336,8 +336,6 @@ which will be combined with variable definitions." (defun emacsql-format (expansion &rest args) "Fill in the variables EXPANSION with ARGS." (cl-destructuring-bind (format . vars) expansion - (unless (= (length args) (length vars)) - (emacsql-error "Wrong number of arguments for SQL template.")) (apply #'format format (cl-loop for (i . kind) in vars collect (let ((thing (nth i args)))