emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/elisa 5d62cf3803 24/98: Reopen db after download sqlite


From: ELPA Syncer
Subject: [elpa] externals/elisa 5d62cf3803 24/98: Reopen db after download sqlite extensions
Date: Wed, 17 Jul 2024 18:58:01 -0400 (EDT)

branch: externals/elisa
commit 5d62cf380301f2fbfd32df395d5b11e980c50a3a
Author: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Commit: Sergey Kostyaev <kostyaev.sergey2@wb.ru>

    Reopen db after download sqlite extensions
---
 elisa.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elisa.el b/elisa.el
index 8aeb68c220..cc9a2588f2 100644
--- a/elisa.el
+++ b/elisa.el
@@ -139,7 +139,8 @@
     (make-directory elisa-db-directory t)
     (url-copy-file (elisa-sqlite-vss-download-url) file-name t)
     (process-lines elisa-tar-executable "-xf" file-name)
-    (delete-file file-name)))
+    (delete-file file-name))
+  (elisa--reopen-db))
 
 (defun elisa-get-embedding-size ()
   "Get embedding size."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]