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

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

[elpa] externals/ement 94547e906d 1/2: Fix: (ement-room--pp-thing) Times


From: ELPA Syncer
Subject: [elpa] externals/ement 94547e906d 1/2: Fix: (ement-room--pp-thing) Timestamp with date headers
Date: Wed, 24 May 2023 11:57:46 -0400 (EDT)

branch: externals/ement
commit 94547e906d14b88064537b6a3f8c93c7432004bd
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: (ement-room--pp-thing) Timestamp with date headers
    
    I recall having set that to increment by 3 by experimentation, but now
    it seems to be necessary to use 1 instead...
---
 README.org    | 3 +++
 ement-room.el | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index eea3d41d3c..6708573c67 100644
--- a/README.org
+++ b/README.org
@@ -306,6 +306,9 @@ Note that, while ~matrix-client~ remains usable, and 
probably will for some time
 + Command ~ement-view-space~ shows the space's name and alias.
 + Improve readme export settings.
 
+*Fixes*
++ Minor adjustment to timestamp headers.
+
 ** 0.9.3
 
 *Fixes*
diff --git a/ement-room.el b/ement-room.el
index b571f0b744..ebcb1eb2ac 100644
--- a/ement-room.el
+++ b/ement-room.el
@@ -3161,7 +3161,7 @@ seconds."
                                ;; HACK: Rather than using another variable, 
compare the format strings to
                                ;; determine whether the date is changing: if 
so, add a newline before the header.
                                (progn
-                                 (cl-incf width 3)
+                                 (cl-incf width 1)
                                  "\n")
                              ""))
             (alignment-space (pcase ement-room-timestamp-header-align



reply via email to

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