diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2017-10-03 15:45:40 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2017-10-03 15:52:54 +0530 |
commit | 2c9d6911bbffb5793b667517d89a4c2c738e2e12 (patch) | |
tree | 6964265c735194c1e3b2eb9dd4e4e3ccfc4ea20d /packages.el | |
parent | 745a1076dff6c46c27a412de82fb21e1fead38d5 (diff) |
Inital commit of notmuch configuration for spacemacs
Diffstat (limited to 'packages.el')
-rw-r--r-- | packages.el | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/packages.el b/packages.el new file mode 100644 index 0000000..42a5ad5 --- /dev/null +++ b/packages.el @@ -0,0 +1,58 @@ +;;; packages.el --- notmuch layer packages file for Spacemacs. +;; +;; Copyright (c) 2012-2017 Sylvain Benner & Contributors +;; +;; Author: Vasudev Kamath <vasudev@copyninja.info> +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +;;; Commentary: + +;; See the Spacemacs documentation and FAQs for instructions on how to implement +;; a new layer: +;; +;; SPC h SPC layers RET +;; +;; +;; Briefly, each package to be installed or configured by this layer should be +;; added to `notmuch-packages'. Then, for each package PACKAGE: +;; +;; - If PACKAGE is not referenced by any other Spacemacs layer, define a +;; function `notmuch/init-PACKAGE' to load and initialize the package. + +;; - Otherwise, PACKAGE is already referenced by another Spacemacs layer, so +;; define the functions `notmuch/pre-init-PACKAGE' and/or +;; `notmuch/post-init-PACKAGE' to customize the package as it is loaded. + +;;; Code: + +(defconst notmuch-packages + '( + notmuch + smtpmail-multi + gnus + bbdb + )) + +(defun notmuch/init-notmuch () + (use-package notmuch + :defer t + )) + +(defun notmuch/init-smtpmail-multi () + (use-package smtpmail-multi + :defer t + )) + +(defun notmuch/init-gnus () + (use-package gnus + :defer t + )) + +(defun notmuch/init-bbdb () + (use-package bbdb + :defer t + )) |