From 9c85ef9fe1dfc4f825647670f46ad21b8501bf0a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 4 Aug 1993 23:19:50 +0000 Subject: [PATCH] (sendmail-program): Try /usr/sbin/sendmail.el also. --- lisp/paths.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/paths.el b/lisp/paths.el index 9e1b8f8e94a..ea97278faf3 100644 --- a/lisp/paths.el +++ b/lisp/paths.el @@ -108,11 +108,11 @@ Will use `gnus-startup-file'-SERVER instead if exists.") Its name should end with a slash.") (defconst sendmail-program - (if (file-exists-p "/usr/lib/sendmail") - "/usr/lib/sendmail" - (if (file-exists-p "/usr/ucblib/sendmail") - "/usr/ucblib/sendmail" - "fakemail")) ;In ../etc, to interface to /bin/mail. + (cond + ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail") + ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail") + ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail") + (t "fakemail")) ;In ../etc, to interface to /bin/mail. "Program used to send messages.") (defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/") -- 2.39.5