From: Amin Bandali Date: Fri, 28 Jun 2019 22:16:20 +0000 (-0400) Subject: emacs: don’t hard code msmtp’s location, use executable-find instead X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8f8d4c3267514d06e27aeb781887d1743d071eec?ds=inline;pf=~bandali emacs: don’t hard code msmtp’s location, use executable-find instead --- 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))