From 7610e86e9750c94cfaa4c73a71d710b4d275256b Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 31 Jan 2023 13:54:41 +0200 Subject: [PATCH] mu4e: move some defcustoms to mu4e-vars.el --- mu4e/mu4e-vars.el | 32 +++++++++++++++++++++++++++++++- mu4e/mu4e.el | 31 ------------------------------- 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/mu4e/mu4e-vars.el b/mu4e/mu4e-vars.el index 8307a823..4be77b3a 100644 --- a/mu4e/mu4e-vars.el +++ b/mu4e/mu4e-vars.el @@ -1,6 +1,6 @@ ;;; mu4e-vars.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 ;; Maintainer: Dirk-Jan C. Binnema @@ -32,6 +32,36 @@ "Mu4e - an email-client for Emacs." :group 'mail) +(defcustom mu4e-confirm-quit t + "Whether to confirm to quit mu4e." + :type 'boolean + :group 'mu4e) + +(defcustom mu4e-modeline-support t + "Support for showing information in the modeline." + :type 'boolean + :group 'mu4e) + +(defcustom mu4e-notification-support nil + "Support for new-message notifications." + :type 'boolean + :group 'mu4e) + +(defcustom mu4e-org-support t + "Support Org-mode links." + :type 'boolean + :group 'mu4e) + +(defcustom mu4e-speedbar-support nil + "Support having a speedbar to navigate folders/bookmarks." + :type 'boolean + :group 'mu4e) + +(defcustom mu4e-eldoc-support nil + "Support eldoc help in the headers-view." + :type 'boolean + :group 'mu4e) + (defcustom mu4e-date-format-long "%c" "Date format to use in the message view. Follows the format of `format-time-string'." diff --git a/mu4e/mu4e.el b/mu4e/mu4e.el index 83bc247d..8ea5692b 100644 --- a/mu4e/mu4e.el +++ b/mu4e/mu4e.el @@ -44,37 +44,6 @@ -(defcustom mu4e-confirm-quit t - "Whether to confirm to quit mu4e." - :type 'boolean - :group 'mu4e) - -(defcustom mu4e-modeline-support t - "Support for showing information in the modeline." - :type 'boolean - :group 'mu4e) - -(defcustom mu4e-notification-support nil - "Support for new-message notifications." - :type 'boolean - :group 'mu4e) - -(defcustom mu4e-org-support t - "Support Org-mode links." - :type 'boolean - :group 'mu4e) - -(defcustom mu4e-speedbar-support nil - "Support having a speedbar to navigate folders/bookmarks." - :type 'boolean - :group 'mu4e) - -(defcustom mu4e-eldoc-support nil - "Support eldoc help in the headers-view." - :type 'boolean - :group 'mu4e) - - (when mu4e-speedbar-support (require 'mu4e-speedbar)) ;; support for speedbar (when mu4e-org-support