[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 08ea1e6636 005/427: Wrap with single rather than d
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 08ea1e6636 005/427: Wrap with single rather than double quotes. |
Date: |
Tue, 13 Dec 2022 02:59:22 -0500 (EST) |
branch: elpa/emacsql
commit 08ea1e6636a99240eb916a02b1e4f9ffdc70763a
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@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)
- [nongnu] branch elpa/emacsql created (now 6b2e65bdf7), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 08ea1e6636 005/427: Wrap with single rather than double quotes.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 1f57b77c4f 007/427: Add command logging., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c7597ab813 001/427: Initial commit., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3b24b5d17c 002/427: Drop closed-p field., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 161e3a41b1 006/427: Add some tests., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 97e9764343 008/427: Change the API of emacsql-insert., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ccfafd7703 012/427: Always quote non-number values., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1074113f03 016/427: Add readability note., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 727f3c8566 022/427: Make nil correspond to NULL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f8d9511d1d 025/427: Tweak README limitations paragraph., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 2f0a9457a4 029/427: Drop non-idiomatic :else., ELPA Syncer, 2022/12/13