From 8f8d4c3267514d06e27aeb781887d1743d071eec Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 28 Jun 2019 18:16:20 -0400 Subject: [PATCH] =?utf8?q?emacs:=20don=E2=80=99t=20hard=20code=20msmtp?= =?utf8?q?=E2=80=99s=20location,=20use=20executable-find=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 29a9ec9..490df15 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1939,7 +1939,7 @@ https://csclub.uwaterloo.ca/~abandali") (use-feature sendmail :config - (setq sendmail-program "/usr/bin/msmtp" + (setq sendmail-program (executable-find "msmtp") ;; message-sendmail-extra-arguments '("-v" "-d") mail-specify-envelope-from t mail-envelope-from 'header)) -- 2.20.1