[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 1ebbc22411 212/427: Disable undo in process buffer
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 1ebbc22411 212/427: Disable undo in process buffers. |
Date: |
Tue, 13 Dec 2022 02:59:43 -0500 (EST) |
branch: elpa/emacsql
commit 1ebbc224117bc9fa6b75dd48e6bfd984c04e99aa
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Disable undo in process buffers.
---
emacsql-psql.el | 1 +
emacsql-sqlite.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/emacsql-psql.el b/emacsql-psql.el
index fe697ff855..ecb8bfb4b6 100644
--- a/emacsql-psql.el
+++ b/emacsql-psql.el
@@ -59,6 +59,7 @@
:dbname dbname)))
(setf (process-sentinel process)
(lambda (proc _) (kill-buffer (process-buffer proc))))
+ (buffer-disable-undo buffer)
(when debug
(setf (emacsql-log-buffer connection)
(generate-new-buffer "*emacsql-log*")))
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 778e3b9c44..db4d4922e7 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -56,6 +56,7 @@ buffer. This is for debugging purposes."
:file (when file fullfile))))
(setf (process-sentinel process)
(lambda (proc _) (kill-buffer (process-buffer proc))))
+ (buffer-disable-undo buffer)
(mapc (lambda (s) (emacsql-send-string connection s :no-log))
'(".mode list"
".separator ' '"
- [nongnu] elpa/emacsql 99a8069389 135/427: Add support for foreign keys., (continued)
- [nongnu] elpa/emacsql 99a8069389 135/427: Add support for foreign keys., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e6ab07e16b 140/427: Switch to a friendlier name., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bec6af6940 148/427: Add VACUUM., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 03aebdecd1 160/427: Rename :log option to :debug., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bb221f6134 161/427: Drop .print command flushing., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 72b34f6522 173/427: Add some more autoloading., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3229cd41af 180/427: Change the requirements for front-end implementations., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 431a3b325f 200/427: Toss "reap" and switch to new finalize with Cask., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ed86b098ce 197/427: Add prefix arg to emacsql-show-last-sql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 027c5df94e 209/427: Organize all the keywords in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1ebbc22411 212/427: Disable undo in process buffers.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 5bef799b6b 220/427: Make some tweaks to accommodate Windows., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 0cb9e47d24 227/427: Test all available backends., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 730e4d882a 235/427: Fix up the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4b45472ffa 240/427: Don't copy the binary every time., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c89ccf82df 241/427: Make a reconnect generic method., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 159195690d 245/427: Include bin/ in the package., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f98ee5e7cd 246/427: Use no-undo buffers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4b58a6717e 250/427: Don't use temporary tables in foreign key test., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 462d1f1b31 252/427: Fix stupid backslash escape mode in MySQL., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b0f0d3085d 258/427: Get OS tuple from Emacs., ELPA Syncer, 2022/12/13