From 8f8d4c3267514d06e27aeb781887d1743d071eec Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 28 Jun 2019 18:16:20 -0400 Subject: emacs: don’t hard code msmtp’s location, use executable-find instead MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs.d') 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)) -- cgit v1.2.3-60-g2f50