diff --git a/oni-notmuch.el b/oni-notmuch.el index 54c8148..4d79edd 100644 --- a/oni-notmuch.el +++ b/oni-notmuch.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0720.222735 -;; Package-Requires: (oni-sendmail notmuch ol-notmuch) +;; Version: 2023.0927.230238 +;; Package-Requires: (oni-sendmail notmuch ol-notmuch olivetti) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -92,5 +92,8 @@ Display SIGNAL when the process has finished and refresh the (define-key notmuch-search-mode-map (kbd "d") #'oni-notmuch-search-delete-thread) +(add-hook 'notmuch-hello-mode-hook 'olivetti-mode) +(add-hook 'notmuch-show-mode-hook 'olivetti-mode) + (provide 'oni-notmuch) ;;; oni-notmuch.el ends here