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

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

[elpa] externals-release/ement a7ea47b197 5/6: Fix: (ement-room-list) in


From: ELPA Syncer
Subject: [elpa] externals-release/ement a7ea47b197 5/6: Fix: (ement-room-list) inhibit-read-only earlier
Date: Sun, 14 May 2023 02:58:21 -0400 (EDT)

branch: externals-release/ement
commit a7ea47b197a0756d08d6af6634a476fdd18344bb
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: (ement-room-list) inhibit-read-only earlier
    
    Needed for when no rooms are yet joined (or have not yet been loaded).
---
 README.org         | 3 ++-
 ement-room-list.el | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.org b/README.org
index 6959d021b2..01d5edbe20 100644
--- a/README.org
+++ b/README.org
@@ -298,7 +298,8 @@ Note that, while ~matrix-client~ remains usable, and 
probably will for some time
 
 ** 0.9.1-pre
 
-Nothing new yet.
+*Fixes*
++ Error in ~ement-room-list~ command upon initial sync.
 
 ** 0.9
 
diff --git a/ement-room-list.el b/ement-room-list.el
index 1b68e983ae..bbdbfa69c8 100644
--- a/ement-room-list.el
+++ b/ement-room-list.el
@@ -547,7 +547,8 @@ After showing it, its window is selected.  The buffer is 
named
 BUFFER-NAME and is shown with DISPLAY-BUFFER-ACTION; or if
 DISPLAY-BUFFER-ACTION is nil, the buffer is not displayed."
   (interactive)
-  (let (format-table column-sizes window-start room-session-vectors)
+  (let ((inhibit-read-only t)
+        format-table column-sizes window-start room-session-vectors)
     (cl-labels (;; (heading-face
                 ;;  (depth) (list :inherit (list 'bufler-group 
(bufler-level-face depth))))
                 (format-item (item) (gethash item format-table))
@@ -657,7 +658,6 @@ DISPLAY-BUFFER-ACTION is nil, the buffer is not displayed."
                            (taxy-sort* #'t>nil (name= "Low-priority"))
                            (taxy-sort* #'t>nil (first-item item-left-p)))))
                  (taxy-magit-section-insert-indent-items nil)
-                 (inhibit-read-only t)
                  (format-cons (taxy-magit-section-format-items
                                ement-room-list-columns 
ement-room-list-column-formatters taxy))
                  (pos (point))



reply via email to

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