[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 3e5ce21b0d 242/427: Tweak the new implementation n
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 3e5ce21b0d 242/427: Tweak the new implementation notes. |
Date: |
Tue, 13 Dec 2022 02:59:48 -0500 (EST) |
branch: elpa/emacsql
commit 3e5ce21b0de8d9355018d03fd486379a3651f362
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Tweak the new implementation notes.
---
README.md | 3 ++-
emacsql-sqlite.el | 2 --
emacsql.el | 2 ++
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 2e5b59096b..ef009129bb 100644
--- a/README.md
+++ b/README.md
@@ -315,7 +315,8 @@ Emacsql uses EIEIO so that interactions with a connection
occur
through generic functions. You need to define a new class that
inherits from `emacsql-connection`.
- * Implement `emacsql-waiting-p`, `emacsql-parse`, and `emacsql-close`.
+ * Implement `emacsql-send-message`, `emacsql-waiting-p`,
+ `emacsql-parse`, and `emacsql-close`.
* Provide a constructor that initializes the connection and calls
`emacsql-register` (for automatic connection cleanup).
* Provide `emacsql-types` if needed (hint: use a class-allocated slot).
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index a32abd7a03..b6868d9c74 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -48,8 +48,6 @@ buffer. This is for debugging purposes."
(generate-new-buffer "*emacsql-log*")))
(emacsql-register connection)))
-(defalias 'emacsql-connect 'emacsql-sqlite)
-
(defmethod emacsql-close ((connection emacsql-sqlite-connection))
"Gracefully exits the SQLite subprocess."
(let ((process (emacsql-process connection)))
diff --git a/emacsql.el b/emacsql.el
index 315414e159..fe13cd908f 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -203,6 +203,8 @@ specific error conditions."
(require 'emacsql-sqlite) ; for `emacsql-connect'
+(defalias 'emacsql-connect 'emacsql-sqlite)
+
(defmacro emacsql-with-connection (connection-spec &rest body)
"Open an Emacsql connection, evaluate BODY, and close the connection.
CONNECTION-SPEC establishes a single binding.
- [nongnu] elpa/emacsql 394bb062aa 219/427: Add a small library for determining binary to use., (continued)
- [nongnu] elpa/emacsql 394bb062aa 219/427: Add a small library for determining binary to use., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f030b9952d 224/427: Fix up psql-connection., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dc2afbbc1f 221/427: Adjust the Emacsql wire protocol., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6318472b20 223/427: Link the Makefiles together., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a7728339ba 216/427: Switch to custom middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ab53199d07 232/427: Fix escaping issue in middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6ad267f93b 229/427: Change :value to :scalar., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1146f2e26a 233/427: Flesh out the changes in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ed77eac846 237/427: Add string prepared statements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 847196cafa 226/427: Set tty to raw in psql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3e5ce21b0d 242/427: Tweak the new implementation notes.,
ELPA Syncer <=
- [nongnu] elpa/emacsql a459708684 244/427: Move tests into their own directory., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4db068920d 247/427: Provide MySQL front-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dce6736e04 249/427: Oops, add new MySQL module to the Makefile., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fcba876d0e 251/427: Solve the tty (pty) issue in MySQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fb0e2d5423 256/427: Fix typecase typo., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a6e859f1b5 260/427: Normalize darwin OS., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4332bd67ec 271/427: Flesh out the main header a bit more., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4e9297233d 273/427: Don't rely on C99 mode., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7963261ef3 270/427: Bump to version 1.0.0., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6f6533ab70 272/427: Add Cygwin note., ELPA Syncer, 2022/12/13