diff options
author | Tom Willemse | 2016-02-08 01:00:04 +0100 |
---|---|---|
committer | Tom Willemse | 2016-02-08 01:00:04 +0100 |
commit | 90b0f4e5099c189fbc4019a8c63b8e538a117ca4 (patch) | |
tree | 8d5cb2f5d6627c212fa26d1a49cc6d4225c35335 /emacs/.emacs.d/init-circe.org | |
parent | a7d9aa019168a99cca28059bc56d09cfb6fc46e0 (diff) | |
download | dotfiles-90b0f4e5099c189fbc4019a8c63b8e538a117ca4.tar.gz dotfiles-90b0f4e5099c189fbc4019a8c63b8e538a117ca4.zip |
Fix my nickname color in Circe buffers
Diffstat (limited to 'emacs/.emacs.d/init-circe.org')
-rw-r--r-- | emacs/.emacs.d/init-circe.org | 4 |
1 files 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 |