The Lambda Lab
/
projects
/
lurk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28a02ce
)
Message prefixes now have context face.
author
plugd
<plugd@thelambdalab.xyz>
Tue, 6 Jul 2021 09:43:10 +0000
(11:43 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Tue, 6 Jul 2021 09:43:10 +0000
(11:43 +0200)
lurk.el
patch
|
blob
|
history
diff --git
a/lurk.el
b/lurk.el
index
fb1c258
..
a8f8a7a
100644
(file)
--- a/
lurk.el
+++ b/
lurk.el
@@
-442,11
+442,13
@@
portion of the source component of the message, as LURK doesn't use this.")
(if (equal to lurk-nick) from to))))
(lurk-display-string
context
(if (equal to lurk-nick) from to))))
(lurk-display-string
context
- (pcase (lurk-get-context-type to)
- ('channel (concat to " <" from ">"))
- ('nick (concat "[" from " -> " to "]"))
- (_
- (error "Unsupported context type")))
+ (propertize
+ (pcase (lurk-get-context-type to)
+ ('channel (concat to " <" from ">"))
+ ('nick (concat "[" from " -> " to "]"))
+ (_
+ (error "Unsupported context type")))
+ 'face (lurk-get-context-facelist context))
text)))
(defun lurk-display-action (from to action-text)
text)))
(defun lurk-display-action (from to action-text)