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

    Fix % operator situation.
---
 emacsql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacsql.el b/emacsql.el
index eb6866b143..ede5b0b288 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -408,7 +408,7 @@ definitions for return from a `emacsql-defexpander'."
             ((< > = != like glob is and or * / % << >> + - & |)
              (format "%s %s %s"
                      (recur 0)
-                     (upcase (symbol-name op))
+                     (if (eq op '%) '%% (upcase (symbol-name op)))
                      (recur 1)))))))))
 
 ;; SQL Expansion Functions:

Reply via email to