X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=274d7ec5591969ffda7269d2da98fc8b22754d77;hb=e9394932f7ccf71755faed8965876e6869e0eacb;hp=f4454be61610c25defd5d36b0df31b81002b860d;hpb=e2dd4ac00b9979de34bd517fa57de56260d38755;p=notmuch diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index f4454be6..274d7ec5 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -24,16 +24,14 @@ (defvar notmuch-command "notmuch" "Command to run the notmuch binary.") -(declare-function notmuch-toggle-invisible-action "notmuch" (cite-button)) - -(define-button-type 'notmuch-button-invisibility-toggle-type - 'action 'notmuch-toggle-invisible-action - 'follow-link t - 'face 'font-lock-comment-face) - -(define-button-type 'notmuch-button-headers-toggle-type - 'help-echo "mouse-1, RET: Show headers" - :supertype 'notmuch-button-invisibility-toggle-type) +(defgroup notmuch nil + "Notmuch mail reader for Emacs." + :group 'mail) + +(defcustom notmuch-folders '(("inbox" . "tag:inbox") ("unread" . "tag:unread")) + "List of searches for the notmuch folder view" + :type '(alist :key-type (string) :value-type (string)) + :group 'notmuch) ;; XXX: This should be a generic function in emacs somewhere, not ;; here.