1
0
Fork 0

[oni-notmuch] Enable olivetti mode in notmuch

This commit is contained in:
Tom Willemse 2023-09-27 23:03:14 -07:00
parent e6a7b37ce4
commit 76e4f12956

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2023.0720.222735 ;; Version: 2023.0927.230238
;; Package-Requires: (oni-sendmail notmuch ol-notmuch) ;; Package-Requires: (oni-sendmail notmuch ol-notmuch olivetti)
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; 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) (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) (provide 'oni-notmuch)
;;; oni-notmuch.el ends here ;;; oni-notmuch.el ends here