mu4e-utils: refactor into mu4e-helpers, separate files
Usurp more of the utils code than can be re-used without further dependencies in helpers. Split off specific parts in their own file. After the helper/utils changes, update the rest of mu4e to take the changes into account.
This commit is contained in:
@ -53,14 +53,31 @@
|
||||
(require 'cl-lib)
|
||||
|
||||
(require 'mu4e-mark)
|
||||
(require 'mu4e-utils)
|
||||
(require 'mu4e-helpers)
|
||||
(require 'mu4e-contacts)
|
||||
(require 'mu4e-headers)
|
||||
(require 'mu4e-view)
|
||||
(require 'mu4e-vars)
|
||||
|
||||
(when mu4e-view-use-old
|
||||
(mu4e-error "iCalender support is not available with the old viewer"))
|
||||
|
||||
;;; Configuration
|
||||
;;;; Calendar
|
||||
|
||||
(defgroup mu4e-icalendar nil
|
||||
"Icalendar related settings."
|
||||
:group 'mu4e)
|
||||
|
||||
(defcustom mu4e-icalendar-trash-after-reply nil
|
||||
"If non-nil, trash the icalendar invitation after replying."
|
||||
:type 'boolean
|
||||
:group 'mu4e-icalendar)
|
||||
|
||||
(defcustom mu4e-icalendar-diary-file nil
|
||||
"If non-nil, the file in which to add events upon reply."
|
||||
:type '(choice (const :tag "Do not insert a diary entry" nil)
|
||||
(string :tag "Insert a diary entry in this file"))
|
||||
:group 'mu4e-icalendar)
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun mu4e-icalendar-setup ()
|
||||
"Perform the necessary initialization to use mu4e-icalendar."
|
||||
|
||||
Reference in New Issue
Block a user