* lisp/net/rcirc.el (rcirc-update-activity-string): Consistently
don't display anything if there aren't any IRC connections.
(rcirc-activity-string lopri)
")"))
(and hipri "]")))
+ ;; Consistently don't display anything if there aren't
+ ;; any IRC connections. Otherwise, whether we display
+ ;; "[]" or not depends on whether or not this function
+ ;; happens to have been called in this session yet.
((not (null (rcirc-process-list)))
"[]")
- (t "[]")))
+ (t
+ "")))
(run-hooks 'rcirc-update-activity-string-hook)
(force-mode-line-update t)))