[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/gnus-mock 4b80212 2/3: Warn user if sendmail-program is u
From: |
Eric Abrahamsen |
Subject: |
[elpa] scratch/gnus-mock 4b80212 2/3: Warn user if sendmail-program is unavailable |
Date: |
Thu, 11 Oct 2018 14:11:08 -0400 (EDT) |
branch: scratch/gnus-mock
commit 4b80212e62c0d04b0760d3dbefd4278ea1c4990e
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Warn user if sendmail-program is unavailable
* packages/gnus-mock/data/.gnus.el (gnus-started-hook): Eventually
come up with a more robust solution for sending messages.
---
packages/gnus-mock/data/.gnus.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/packages/gnus-mock/data/.gnus.el b/packages/gnus-mock/data/.gnus.el
index 1b696a5..75df8d9 100644
--- a/packages/gnus-mock/data/.gnus.el
+++ b/packages/gnus-mock/data/.gnus.el
@@ -33,3 +33,7 @@ again."
gnus-home-directory nil nil t)
(gnus-read-init-file)
(message "Mock Gnus data restored"))))
+
+(add-hook 'gnus-started-hook (lambda ()
+ (unless sendmail-program
+ (message "Python unavailable on this system,
you won't be able to send mail"))))