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

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

[elpa] externals/ement 3965a1d749: Change: (ement-describe-room) Show wh


From: ELPA Syncer
Subject: [elpa] externals/ement 3965a1d749: Change: (ement-describe-room) Show whether room or space
Date: Wed, 24 May 2023 08:57:47 -0400 (EDT)

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

    Change: (ement-describe-room) Show whether room or space
---
 README.org   | 1 +
 ement-lib.el | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 8b24afc0a6..77d74025b5 100644
--- a/README.org
+++ b/README.org
@@ -300,6 +300,7 @@ Note that, while ~matrix-client~ remains usable, and 
probably will for some time
 
 *Changes*
 
++ Command ~ement-describe-room~ shows whether a room is a space or a normal 
room.
 + Improve readme export settings.
 
 ** 0.9.3
diff --git a/ement-lib.el b/ement-lib.el
index c573d2a786..6f020a3eab 100644
--- a/ement-lib.el
+++ b/ement-lib.el
@@ -524,7 +524,12 @@ otherwise use current room."
                          ;; alignment problems.
                          (spec (format "%%-%ss %%s" name-width)))
               (save-excursion
-                (insert "\"" (propertize (or display-name canonical-alias 
room-id) 'face 'font-lock-doc-face) "\"" " is a room "
+                (insert "\"" (propertize (or display-name canonical-alias 
room-id) 'face 'font-lock-doc-face) "\"" " is a "
+                        (propertize (if (ement--room-space-p room)
+                                        "space"
+                                      "room")
+                                    'face 'font-lock-type-face)
+                        " "
                         (propertize (pcase status
                                       ('invite "invited")
                                       ('join "joined")



reply via email to

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