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

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

[elpa] externals/svg-lib beafc98077: Inhibit read-only when updating but


From: ELPA Syncer
Subject: [elpa] externals/svg-lib beafc98077: Inhibit read-only when updating button state
Date: Tue, 16 Jan 2024 09:58:47 -0500 (EST)

branch: externals/svg-lib
commit beafc98077401643f2db98158833f012e713a6c2
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Inhibit read-only when updating button state
---
 svg-lib.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/svg-lib.el b/svg-lib.el
index 28731436a9..974209c1f1 100644
--- a/svg-lib.el
+++ b/svg-lib.el
@@ -838,7 +838,8 @@ hovered button unless NO-RESET is t"
       (svg-lib-button--set-state prev-id 'active)))
 
   ;; Set new state
-  (when-let* ((region (svg-lib-button--search id))
+  (when-let* ((inhibit-read-only t)
+              (region (svg-lib-button--search id))
               (cur-state (svg-lib-button--get-state id region))
               (button-list (get-text-property (car region) 'button-list))
               (display (cdr (assoc state button-list))))



reply via email to

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