Use defcustom for the customizable variables in mu4e-lists.el

This commit is contained in:
Anders Johansson 2017-11-26 15:47:13 +01:00
parent 9ad4a76eac
commit e0fd8ed3ba
1 changed files with 9 additions and 4 deletions

View File

@ -81,13 +81,18 @@
("zsh-users.zsh.org" . "ZshUsr")) ("zsh-users.zsh.org" . "ZshUsr"))
"AList of cells (MAILING-LIST-ID . SHORTNAME)") "AList of cells (MAILING-LIST-ID . SHORTNAME)")
(defvar mu4e-user-mailing-lists nil (defcustom mu4e-user-mailing-lists nil
"An alist with cells (MAILING-LIST-ID . SHORTNAME); these are "An alist with cells (MAILING-LIST-ID . SHORTNAME); these are
used in addition to the built-in list `mu4e~mailing-lists'.") used in addition to the built-in list `mu4e~mailing-lists'."
:group 'mu4e-headers
:type '(repeat (cons string string)))
(defvar mu4e-mailing-list-patterns nil
(defcustom mu4e-mailing-list-patterns nil
"A list of regex patterns to capture a shortname out of a list "A list of regex patterns to capture a shortname out of a list
ID. For the first regex that matches, its first matchgroup will ID. For the first regex that matches, its first matchgroup will
be used as the shortname.") be used as the shortname."
:group 'mu4e-headers
:type '(repeat (regexp)))
(provide 'mu4e-lists) (provide 'mu4e-lists)