Merge pull request #1157 from andersjohansson/add-defcustom

mu4e: Use defcustom for the customizable variables in mu4e-lists.el
This commit is contained in:
Dirk-Jan C. Binnema 2018-01-06 14:59:01 +02:00 committed by GitHub
commit dd8e099d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -81,13 +81,18 @@
("zsh-users.zsh.org" . "ZshUsr"))
"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
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
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)