From 90b0f4e5099c189fbc4019a8c63b8e538a117ca4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 8 Feb 2016 01:00:04 +0100 Subject: Fix my nickname color in Circe buffers --- emacs/.emacs.d/init-circe.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/init-circe.org b/emacs/.emacs.d/init-circe.org index 8ef7a8f..f296066 100644 --- a/emacs/.emacs.d/init-circe.org +++ b/emacs/.emacs.d/init-circe.org @@ -60,8 +60,8 @@ wanted it. So now I use Circe. (when (> len oni:circe-longest-nick) (setq oni:circe-longest-nick len) (setq-local lui-fill-type (make-string (+ len 3) ?\ ))) - (format "%s %s" (s-pad-left oni:circe-longest-nick " " nick) - (plist-get keywords :body)))) + (plist-put keywords :nick (s-pad-left oni:circe-longest-nick " " nick)) + (lui-format "{nick} {body}" keywords))) #+END_SRC I use this formatter both for messages I send myself and incoming -- cgit v1.2.3-54-g00ecf