summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-06-28 18:16:20 -0400
committerAmin Bandali <bandali@gnu.org>2019-06-28 18:16:20 -0400
commit8f8d4c3267514d06e27aeb781887d1743d071eec (patch)
tree94a0b95862a5dfc71766e5f5a7c03320b0266442
parent18f2d6911c7e4eb96093a415d6bb35f4749780e4 (diff)
downloadconfigs-8f8d4c3267514d06e27aeb781887d1743d071eec.tar.gz
configs-8f8d4c3267514d06e27aeb781887d1743d071eec.tar.xz
configs-8f8d4c3267514d06e27aeb781887d1743d071eec.zip
emacs: don’t hard code msmtp’s location, use executable-find instead
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
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))