mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix inconsistency in value of rcirc-activity-string
* lisp/net/rcirc.el (rcirc-update-activity-string): Consistently don't display anything if there aren't any IRC connections.
This commit is contained in:
parent
108b3179bd
commit
e6a37869c8
1 changed files with 6 additions and 1 deletions
|
|
@ -2537,9 +2537,14 @@ activity. Only run if the buffer is not visible and
|
||||||
(rcirc-activity-string lopri)
|
(rcirc-activity-string lopri)
|
||||||
")"))
|
")"))
|
||||||
(and hipri "]")))
|
(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)))
|
((not (null (rcirc-process-list)))
|
||||||
"[]")
|
"[]")
|
||||||
(t "[]")))
|
(t
|
||||||
|
"")))
|
||||||
(run-hooks 'rcirc-update-activity-string-hook)
|
(run-hooks 'rcirc-update-activity-string-hook)
|
||||||
(force-mode-line-update t)))
|
(force-mode-line-update t)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue