emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 d68e6d2689d 2/3: ; rcirc-update-activity-string: Justify some e


From: Sean Whitton
Subject: emacs-30 d68e6d2689d 2/3: ; rcirc-update-activity-string: Justify some existing behaviour
Date: Tue, 1 Oct 2024 21:23:39 -0400 (EDT)

branch: emacs-30
commit d68e6d2689d0b3be4d251b0edc09fba144f7b282
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>

    ; rcirc-update-activity-string: Justify some existing behaviour
---
 lisp/net/rcirc.el | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 7095da34ec0..2a713de83c2 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2541,6 +2541,17 @@ activity.  Only run if the buffer is not visible and
                 ;; 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.
+                ;;
+                ;; 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)))
                  "[]")
                 (t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]