mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
Fix: (ement-room--insert-sender-headers) Use ewoc-prev
This should be correct, and omitting it must have been an oversight...
This commit is contained in:
parent
cbdba7b234
commit
95dcf9d56e
1 changed files with 2 additions and 1 deletions
|
@ -2711,7 +2711,8 @@ the first and last nodes in the buffer, respectively."
|
|||
;; we set `prev-node' to the non-marker node before it.
|
||||
(setf prev-node (ement-room--ewoc-next-matching ewoc prev-node
|
||||
(lambda (data)
|
||||
(not (read-marker-p data))))))
|
||||
(not (read-marker-p data)))
|
||||
#'ewoc-prev)))
|
||||
(when prev-node
|
||||
;; A previous node still exists: maybe we need to add a header.
|
||||
(cl-typecase (ewoc-data prev-node)
|
||||
|
|
Loading…
Add table
Reference in a new issue