mu4e-modeline: refactor modeline support

Move all the modeline code to new mu4e-modeline.el, and update
mu4e-context and mu4e-headers to use it.
This commit is contained in:
Dirk-Jan C. Binnema
2023-01-07 10:28:15 +02:00
parent 6b04158925
commit beb2bef8dd
5 changed files with 108 additions and 47 deletions

View File

@ -1,6 +1,6 @@
;;; mu4e.el --- part of mu4e, the mu mail user agent -*- lexical-binding: t -*-
;; Copyright (C) 2011-2022 Dirk-Jan C. Binnema
;; Copyright (C) 2011-2023 Dirk-Jan C. Binnema
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
@ -48,6 +48,11 @@
:type 'boolean
:group 'mu4e)
(defcustom mu4e-modeline-support t
"Support for shoiwing information in the modeline."
:type 'boolean
:group 'mu4e)
(defcustom mu4e-org-support t
"Support Org-mode links."
:type 'boolean