; rcirc-update-activity-string: Justify some existing behaviour
This commit is contained in:
parent
e6a37869c8
commit
d68e6d2689
1 changed files with 11 additions and 0 deletions
|
@ -2541,6 +2541,17 @@ activity. Only run if the buffer is not visible and
|
||||||
;; any IRC connections. Otherwise, whether we display
|
;; any IRC connections. Otherwise, whether we display
|
||||||
;; "[]" or not depends on whether or not this function
|
;; "[]" or not depends on whether or not this function
|
||||||
;; happens to have been called in this session yet.
|
;; happens to have been called in this session yet.
|
||||||
|
;;
|
||||||
|
;; Consistently display nothing, rather than
|
||||||
|
;; consistently displaying "[]", for the sake of the
|
||||||
|
;; following sort of case: the user has enabled
|
||||||
|
;; `rcirc-track-minor-mode' using the customization
|
||||||
|
;; system, but also starts up Emacs instances that
|
||||||
|
;; aren't used for IRC. Due to the use of easy
|
||||||
|
;; customization, `rcirc-track-minor-mode' will be
|
||||||
|
;; turned on for every instance of Emacs. But we don't
|
||||||
|
;; want to take up valuable mode line space when, say,
|
||||||
|
;; Emacs is started up as the value of EDITOR/VISUAL.
|
||||||
((not (null (rcirc-process-list)))
|
((not (null (rcirc-process-list)))
|
||||||
"[]")
|
"[]")
|
||||||
(t
|
(t
|
||||||
|
|
Loading…
Add table
Reference in a new issue