branch: elpa/emacsql commit 57fa0e1d3e7c5edeaaaf7fd03daa32cd727424b9 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Use just BEGIN for transactions. This seems to be more portable. Is this the ANSI way? I can't figure it out. --- emacsql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacsql.el b/emacsql.el index 4673a3b33f..3ffabadad0 100644 --- a/emacsql.el +++ b/emacsql.el @@ -267,7 +267,7 @@ multiple times before the changes are committed." (condition-case nil (progn (when (= 1 emacsql--transaction-level) - (emacsql emacsql--connection [:begin :transaction])) + (emacsql emacsql--connection [:begin])) (let ((result (progn ,@body))) (setf emacsql--result result) (when (= 1 emacsql--transaction-level)