emacs-diffs
[Top][All Lists]
Advanced

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

scratch/sqlite 85d5837: Actually set the value again


From: Lars Ingebrigtsen
Subject: scratch/sqlite 85d5837: Actually set the value again
Date: Tue, 7 Dec 2021 14:40:06 -0500 (EST)

branch: scratch/sqlite
commit 85d58371463e2dcaa83a8cfd9c079554f6bd1662
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Actually set the value again
---
 lisp/emacs-lisp/sticky.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/sticky.el b/lisp/emacs-lisp/sticky.el
index 8782991..a84057f 100644
--- a/lisp/emacs-lisp/sticky.el
+++ b/lisp/emacs-lisp/sticky.el
@@ -150,7 +150,8 @@ DOC should be a doc string, and ARGS are keywords as 
applicable to
               (caar (sqlite-select
                      sticky--db
                      "select sequence from sticky where package = ? and key = 
?"
-                     id)))))))
+                     id)))
+        (setf (sticky--cached-value object) value)))))
 
 (gv-define-simple-setter sticky-value sticky--set-value)
 



reply via email to

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