[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 777abb9e9e 09/11: Use `oref' instead of `slot-valu
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/emacsql 777abb9e9e 09/11: Use `oref' instead of `slot-value' |
|
Date: |
Fri, 19 Jan 2024 19:00:24 -0500 (EST) |
branch: elpa/emacsql
commit 777abb9e9ed47245636cdc7ea814ce12ad11e2ac
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use `oref' instead of `slot-value'
---
emacsql-sqlite-builtin.el | 2 +-
emacsql-sqlite-module.el | 2 +-
emacsql-sqlite.el | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/emacsql-sqlite-builtin.el b/emacsql-sqlite-builtin.el
index 747ce84de5..0f8a32e209 100644
--- a/emacsql-sqlite-builtin.el
+++ b/emacsql-sqlite-builtin.el
@@ -33,7 +33,7 @@
((connection emacsql-sqlite-builtin-connection) &rest _)
(require (quote sqlite))
(oset connection handle
- (sqlite-open (slot-value connection 'file)))
+ (sqlite-open (oref connection file)))
(when emacsql-global-timeout
(emacsql connection [:pragma (= busy-timeout $s1)]
(/ (* emacsql-global-timeout 1000) 2)))
diff --git a/emacsql-sqlite-module.el b/emacsql-sqlite-module.el
index 92de2c10b8..4c5cbd05d9 100644
--- a/emacsql-sqlite-module.el
+++ b/emacsql-sqlite-module.el
@@ -35,7 +35,7 @@
((connection emacsql-sqlite-module-connection) &rest _)
(require (quote sqlite3))
(oset connection handle
- (sqlite3-open (or (slot-value connection 'file) ":memory:")
+ (sqlite3-open (or (oref connection file) ":memory:")
sqlite-open-readwrite
sqlite-open-create))
(when emacsql-global-timeout
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index adc6de8489..a0728bfedc 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -66,7 +66,7 @@ used.")
;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60872#11.
(coding-system-for-write 'utf-8)
(coding-system-for-read 'utf-8)
- (file (slot-value connection 'file))
+ (file (oref connection file))
(buffer (generate-new-buffer " *emacsql-sqlite*"))
(fullfile (if file (expand-file-name file) ":memory:"))
(process (start-process
- [nongnu] elpa/emacsql updated (e2b2df570d -> ffd501a588), ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql ce25410db4 03/11: Update cl-flet indentation, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 1bea33bd45 04/11: test: Fix indentation, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 8be75b66b1 05/11: Use `and' instead of `when' if value matters, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 1b8297b671 06/11: Use `setq' instead of `setf', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql a4b4dce9a5 07/11: Use `put' instead of `setf' and `get', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 777abb9e9e 09/11: Use `oref' instead of `slot-value',
ELPA Syncer <=
- [nongnu] elpa/emacsql ffd501a588 11/11: Newline cosmetics, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 3ec2c96e58 02/11: emacsql-log-buffer: Deprecate this accessor for log-buffer slot, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 49b9858683 01/11: Change case of EmacSQL in deprecation warning, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql dacc764567 08/11: Use `oref' instead of `eieio-oref', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql fdd0dbec38 10/11: Use `oset' instead of `setf' and `slot-value', ELPA Syncer, 2024/01/19