branch: elpa/emacsql commit 08ea1e6636a99240eb916a02b1e4f9ffdc70763a Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Wrap with single rather than double quotes. --- emacsql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacsql.el b/emacsql.el index f14a12f34f..a0e9b6a1c3 100644 --- a/emacsql.el +++ b/emacsql.el @@ -164,7 +164,7 @@ This collection exists for cleanup purposes.") (if (or (string-match-p "[]-\000-\040!\"#%&'()*+,./:;<=>?@[\\^`{|}~\177]" string) (string-match-p "^[0-9$]" string)) - (format "\"%s\"" (replace-regexp-in-string "\"" "\"\"" string)) + (format "'%s'" (replace-regexp-in-string "'" "''" string)) string))) (defun emacsql--check-error (emacsql)