diff options
author | Tom Willemse | 2023-06-21 22:38:50 -0700 |
---|---|---|
committer | Tom Willemse | 2023-06-21 22:38:50 -0700 |
commit | 8a0cddac7c7b78039d73e78f730d93700c68cf55 (patch) | |
tree | 52114967a7a182c55a96dc95e078532412a85d19 /oni-gnus.el | |
parent | 9fe6381afd2ecb14194cafd7de91bc05bc35863f (diff) | |
download | emacs-config-8a0cddac7c7b78039d73e78f730d93700c68cf55.tar.gz emacs-config-8a0cddac7c7b78039d73e78f730d93700c68cf55.zip |
[oni-sendmail] Split my config to send email into separate package
I haven't been using Gnus for a while and have been using notmuch instead.
Having my email sending settings be a part of the gnus configuration makes it
impossible to send email without loading gnus.
Diffstat (limited to 'oni-gnus.el')
-rw-r--r-- | oni-gnus.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/oni-gnus.el b/oni-gnus.el index c64220e..d21a737 100644 --- a/oni-gnus.el +++ b/oni-gnus.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2022.0216.010059 -;; Package-Requires: (oni-data-dir) +;; Version: 2023.0621.223533 +;; Package-Requires: (oni-data-dir oni-sendmail) ;; 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 @@ -32,7 +32,7 @@ (require 'message) (require 'nnfolder) (require 'oni-data-dir) -(require 'sendmail) +(require 'oni-sendmail) (defun oni-gnus-goto-bracket-then-colon () "Find the first occurrence of [ on the current line and then :. @@ -61,10 +61,6 @@ of the email." message-directory mail-source-directory nnfolder-directory mail-source-directory) -(setq send-mail-function 'send-mail-send-it - message-send-mail-function 'message-send-mail-with-sendmail - sendmail-program "msmtp") - (setq gnus-novice-user nil) (defun oni-gnus-delete-forward (&optional n) |