[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 301e2ff4b6 175/427: Drop "simple" from helper meth
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 301e2ff4b6 175/427: Drop "simple" from helper method names. |
Date: |
Tue, 13 Dec 2022 02:59:39 -0500 (EST) |
branch: elpa/emacsql
commit 301e2ff4b6b43981b6df7b92330c4767f8f88ec3
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Drop "simple" from helper method names.
---
emacsql-psql.el | 4 ++--
emacsql-sqlite.el | 4 ++--
emacsql.el | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/emacsql-psql.el b/emacsql-psql.el
index f7a895ef2b..47ed1e0eb7 100644
--- a/emacsql-psql.el
+++ b/emacsql-psql.el
@@ -75,10 +75,10 @@
(emacsql-clear connection)
(emacsql-send-string connection sql-string)
(emacsql-wait connection)
- (let ((error (emacsql-simple-error-check connection)))
+ (let ((error (emacsql-error-check connection)))
(if error
(signal 'emacsql-error (list error))
- (emacsql-simple-parse connection)))))
+ (emacsql-parse connection)))))
(provide 'emacsql-psql)
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 63018cb6a8..5b5905910b 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -127,10 +127,10 @@ buffer. This is for debugging purposes."
(emacsql-clear connection)
(emacsql-send-string connection sql-string)
(emacsql-wait connection)
- (let ((error (emacsql-simple-error-check connection)))
+ (let ((error (emacsql-error-check connection)))
(if error
(signal (emacsql-sqlite-get-condition error) (list error))
- (emacsql-simple-parse connection)))))
+ (emacsql-parse connection)))))
(provide 'emacsql-sqlite)
diff --git a/emacsql.el b/emacsql.el
index e3f6f2067c..a81cd8eea5 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -156,7 +156,7 @@ This prompt value was chosen because it is unreadable."
(buffer-substring
(- (point-max) 2) (point-max)))))))
-(defmethod emacsql-simple-parse ((connection emacsql-simple-parser))
+(defmethod emacsql-parse ((connection emacsql-simple-parser))
"Parse output into an s-expression.
Output should have one row per line, separated by whitespace."
(with-current-buffer (emacsql-buffer connection)
@@ -169,7 +169,7 @@ Output should have one row per line, separated by
whitespace."
and do (progn (forward-char 1) (setf row ()))
finally (cl-return rows)))))
-(defmethod emacsql-simple-error-check ((connection emacsql-simple-parser))
+(defmethod emacsql-error-check ((connection emacsql-simple-parser))
"Return the error message from CONNECTION, or nil for no error."
(with-current-buffer (emacsql-buffer connection)
(let ((case-fold-search t))
- [nongnu] elpa/emacsql cefe1ec014 121/427: Add emacsql-sqlite3-unavailable-p., (continued)
- [nongnu] elpa/emacsql cefe1ec014 121/427: Add emacsql-sqlite3-unavailable-p., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b2d83c6477 123/427: Fix up ORDER BY, drop :ascending-by., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f52af86b05 124/427: Break apart and organize compilation tests., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 0bff8ccc34 126/427: Fix up README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a362a97c98 136/427: Add README section on foreign keys., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 223db2d397 141/427: Add quote operator., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 8951084b40 143/427: Add variable escaping., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 19a65f390e 147/427: Add ignored features section to README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 530b0ad98c 151/427: Allow arbitrary sub-statements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3012f5b725 154/427: Fix typo., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 301e2ff4b6 175/427: Drop "simple" from helper method names.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 578a71d2d8 157/427: Re-order some definitions to group them., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 935cca89a9 176/427: Add updated information about Windows., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b3aea1e6af 055/427: Oops, fix >= back., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c4396ec5e6 057/427: Fix a bunch of warnings., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e9fbc4a913 061/427: Fill out a Makefile., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 829298d5a7 063/427: Add dependency listing., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 231ec586ca 088/427: Drop forced process coding system., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql eba26bead6 102/427: Add emacsql-compile function for debugging., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql d5cfaee783 158/427: Be more precise about error messages., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f512300aba 054/427: Fix a few things in emacsql-expr., ELPA Syncer, 2022/12/13