[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql d2f1bcef5d 165/427: Rename add-connection to regis
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql d2f1bcef5d 165/427: Rename add-connection to register. |
Date: |
Tue, 13 Dec 2022 02:59:38 -0500 (EST) |
branch: elpa/emacsql
commit d2f1bcef5d1d74de54b147708ff32925d014ee06
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Rename add-connection to register.
---
emacsql-psql.el | 2 +-
emacsql-sqlite.el | 3 +--
emacsql.el | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/emacsql-psql.el b/emacsql-psql.el
index 5dd3184e4a..9406826b55 100644
--- a/emacsql-psql.el
+++ b/emacsql-psql.el
@@ -33,7 +33,7 @@
:process process
:dbname dbname)))
(prog1 connection
- (emacsql-add-connection connection)
+ (emacsql-register connection)
(emacsql-send-string connection "\\pset pager off")
(emacsql-send-string connection "\\a")
(emacsql-send-string connection "\\t")
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 25e9ca5fbc..6bb1f2e5c1 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -11,7 +11,6 @@
(defun emacsql-sqlite3-unavailable-p ()
"Return a reason if the sqlite3 executable is not available.
-
:no-executable -- cannot find the executable
:cannot-execute -- cannot run the executable
:old-version -- sqlite3 version is too old"
@@ -61,7 +60,7 @@ buffer. This is for debugging purposes."
(setf (emacsql-log-buffer connection)
(generate-new-buffer "*emacsql-log*")))
(emacsql-wait connection)
- (emacsql-add-connection connection)))))
+ (emacsql-register connection)))))
;;;###autoload
(defalias 'emacsql-connect 'emacsql-sqlite)
diff --git a/emacsql.el b/emacsql.el
index e6e8bf50ef..0df4f17ec7 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -150,7 +150,7 @@ This collection exists for cleanup purposes.")
(defvar emacsql-reap-timer nil
"Timer used to check for dead emacsql connections.")
-(defun emacsql-add-connection (connection)
+(defun emacsql-register (connection)
"Add CONNECTION to the global connection list."
(emacsql-start-reap-timer)
(push (cons (copy-sequence connection) (emacsql--ref connection))
- [nongnu] elpa/emacsql eba26bead6 102/427: Add emacsql-compile function for debugging., (continued)
- [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
- [nongnu] elpa/emacsql e900f99091 075/427: Update examples., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1116a0873e 163/427: Turn everything into generic functions., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 47d9476a02 142/427: Add tests for quote operator., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql cd5e856ea6 150/427: Add :autoincrement., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f31120edb6 155/427: Fix up documentation headers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql adfbc7ed83 156/427: Add emacsql-show-last-sql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 60d92d3051 159/427: Change the output mode to list., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql d2f1bcef5d 165/427: Rename add-connection to register.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 9dcfebfba7 030/427: Factor out schema->string code., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1f6c06bda9 050/427: Use expr expansion in :where expander., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 39aa16906a 034/427: Remove redundant wait., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql cda366379a 085/427: Add Windows note., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql db0159f138 032/427: Update README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 801bc6239f 222/427: Swap the tuple order., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9e6ea00f01 243/427: Add note about PostgreSQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ad6c09681e 261/427: Oops, print the tuple., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ff59ca9336 265/427: Clear out binaries in distclean, too., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 00bb81ff2b 266/427: Fix Makefile typo., ELPA Syncer, 2022/12/13