[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/sqlite 8cc30e5 1/2: Don't check for sqlite in the interface func
From: |
Lars Ingebrigtsen |
Subject: |
scratch/sqlite 8cc30e5 1/2: Don't check for sqlite in the interface functions |
Date: |
Tue, 14 Dec 2021 04:05:56 -0500 (EST) |
branch: scratch/sqlite
commit 8cc30e5890ee9e7dc082aaa7e15494aa220357ad
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't check for sqlite in the interface functions
---
lisp/emacs-lisp/multisession.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lisp/emacs-lisp/multisession.el b/lisp/emacs-lisp/multisession.el
index 5e5cae4..2eb45da 100644
--- a/lisp/emacs-lisp/multisession.el
+++ b/lisp/emacs-lisp/multisession.el
@@ -85,8 +85,7 @@ DOC should be a doc string, and ARGS are keywords as
applicable to
(defun multisession-value (object)
"Return the value of the multisession OBJECT."
- (if (or (null user-init-file)
- (not (sqlite-available-p)))
+ (if (null user-init-file)
;; If we don't have storage, then just return the value from the
;; object.
(if (markerp (multisession--cached-value object))
@@ -96,8 +95,7 @@ DOC should be a doc string, and ARGS are keywords as
applicable to
(multisession-backend-value multisession-storage object)))
(defun multisession--set-value (object value)
- (if (or (null user-init-file)
- (not (sqlite-available-p)))
+ (if (null user-init-file)
;; We have no backend, so just store the value.
(setf (multisession--cached-value object) value)
;; We have a backend.