From 00daa6e96c4b38dfae1c278ee584978aa6d23c2c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 26 Dec 2023 03:02:40 +0200 Subject: [Fix] emacsql for issue #113 issue: https://github.com/magit/emacsql/issues/113 - Add emacsql as snapshot - Use emacsql-sqlite-open --- gnosis.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnosis.el b/gnosis.el index da4848b..3bb4ef8 100644 --- a/gnosis.el +++ b/gnosis.el @@ -7,7 +7,7 @@ ;; URL: https://git.thanosapollo.org/gnosis ;; Version: 0.0.1 -;; Package-Requires: ((emacs "27.2") (compat "29.1.4.2")) +;; Package-Requires: ((emacs "27.2") (compat "29.1.4.2") (emacsql "20230228")) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ (make-directory gnosis-dir) (make-directory gnosis-images-dir)) -(defvar gnosis-db (emacsql-sqlite (concat gnosis-dir "/" "gnosis.db")) +(defvar gnosis-db (emacsql-sqlite-open (concat gnosis-dir "/" "gnosis.db")) "Gnosis database.") (cl-defun gnosis--select (value table &optional (restrictions '1=1)) -- cgit v1.2.3