about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/mail-setup.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-30T15·58+0300
committerclbot <clbot@tvl.fyi>2023-12-01T16·22+0000
commitdfd93efee0c918e277765c331bd4e52fef58acf6 (patch)
treed831897295deae59b0a9113d63841f19eccf116a /users/tazjin/emacs/config/mail-setup.el
parentdbc17e8c4b28e43f6609c571fccdcf7b3819aec9 (diff)
refactor(tazjin/emacs): remove telephone-line r/7100
I don't really like this package, it's kinda wonky, and now that part
of my mode line logic is in the tab-bar, it's no longer needed.

Change-Id: I4791a75e5ce2f0c49ef0d239cadf6a4f81c73636
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10171
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/mail-setup.el')
-rw-r--r--users/tazjin/emacs/config/mail-setup.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/users/tazjin/emacs/config/mail-setup.el b/users/tazjin/emacs/config/mail-setup.el
index 1d7ab6d0b018..7352c8ba109b 100644
--- a/users/tazjin/emacs/config/mail-setup.el
+++ b/users/tazjin/emacs/config/mail-setup.el
@@ -49,7 +49,7 @@
 ;; handle that gracefully.
 (define-key notmuch-message-mode-map (kbd "C-x C-s") #'ignore)
 
-;; Define a telephone-line segment for displaying the count of unread,
+;; Define a mode-line segment for displaying the count of unread,
 ;; important mails in the last window's mode-line:
 (defvar *last-notmuch-count-redraw* 0)
 (defvar *current-notmuch-count* nil)
@@ -74,10 +74,6 @@
              (not (equal *current-notmuch-count* "I: 0; D: 0")))
     *current-notmuch-count*))
 
-(telephone-line-defsegment telephone-line-notmuch-counts ()
-  "This segment displays the count of unread notmuch messages in
-  the last window's mode-line (if unread messages are present)."
-
-  (update-display-notmuch-counts))
+;; TODO(tazjin): re-add this segment to the modeline
 
 (provide 'mail-setup)