branch: elpa/emacsql commit 3e5ce21b0de8d9355018d03fd486379a3651f362 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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.