SHA256
1
0
forked from pool/emacs
emacs/emacs-24.1-sendmail-path.patch
2012-06-28 09:17:09 +00:00

18 lines
619 B
Diff

--- lisp/mail/sendmail.el
+++ lisp/mail/sendmail.el 2012-06-26 17:16:27.176010331 +0000
@@ -42,13 +42,7 @@
:group 'sendmail
:version "22.1")
-(defcustom sendmail-program
- (or (executable-find "sendmail")
- (cond
- ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail")
- ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
- ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
- (t "sendmail")))
+(defcustom sendmail-program "/usr/sbin/sendmail"
"Program used to send messages."
:version "24.1" ; add executable-find, remove fakemail
:group 'mail