diff options
-rw-r--r-- | lib/eos/jao-minibuffer.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 9c0ecd2..d535f93 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -96,11 +96,9 @@ msg (jao-minibuffer--format-msg msg))) -(defconst jao-minibuffer--circe - '(circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks)))))) - (defvar-local w3m-current-title nil) (defvar-local eww-data nil) +(defvar circe-chat-target nil) (setq-default mode-line-position '("%n L%l" @@ -112,6 +110,8 @@ 'gnus-article-mode 'gnus-summary-mode) mode-line-buffer-identification) + ((derived-mode-p 'circe-channel-mode) + (format "%s [%d]" (buffer-name) (length (circe-channel-nicks)))) ((not (null eww-data)) (plist-get eww-data :title)) (w3m-current-title) (t "%b"))) |