mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
Fix: (ement-room-scroll-up-mark-read) Select correct room window
This commit is contained in:
parent
96f3c22cca
commit
43ab8f2e09
2 changed files with 4 additions and 2 deletions
|
@ -262,7 +262,8 @@ However, note that ~matrix-client~ is a more mature client and is very reliable
|
|||
|
||||
** 0.1.1
|
||||
|
||||
Nothing new yet.
|
||||
*Fixed*
|
||||
+ Function ~ement-room-scroll-up-mark-read~ selects the correct room window.
|
||||
|
||||
** 0.1
|
||||
|
||||
|
|
|
@ -1202,7 +1202,8 @@ Interactively, set the current buffer's ROOM's TOPIC."
|
|||
'("*Ement Taxy*" "*Ement Rooms*")))
|
||||
(window-list))))
|
||||
;; Rooms buffer already displayed: select its window and move to next unread room.
|
||||
(with-selected-window rooms-window
|
||||
(progn
|
||||
(select-window rooms-window)
|
||||
(funcall (pcase-exhaustive major-mode
|
||||
('ement-room-list-mode #'ement-room-list-next-unread)
|
||||
('ement-taxy-mode #'ement-taxy-next-unread))))
|
||||
|
|
Loading…
Add table
Reference in a new issue