mirror of
https://github.com/vale981/ement.el
synced 2025-03-05 09:21:37 -05:00
Fix: (ement-room--insert-ts-headers) Compare header properly
This commit is contained in:
parent
d8a48fe71d
commit
aae99327e3
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ the buffer."
|
|||
(when (and (>= diff-seconds ement-room-timestamp-header-delta)
|
||||
(not (when-let ((node-after-a (ewoc-next ewoc node-a)))
|
||||
(pcase (ewoc-data node-after-a)
|
||||
(`(ts) t)))))
|
||||
(`(ts . ,_) t)))))
|
||||
(unless (equal (time-to-days a-ts) (time-to-days b-ts))
|
||||
;; Different date: bind format to print date.
|
||||
(setf ement-room-timestamp-header-format ement-room-timestamp-header-with-date-format))
|
||||
|
|
Loading…
Add table
Reference in a new issue