emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fd63880: Make message-allow-no-recipients 'always work


From: Lars Ingebrigtsen
Subject: master fd63880: Make message-allow-no-recipients 'always work
Date: Wed, 27 Nov 2019 06:45:06 -0500 (EST)

branch: master
commit fd63880540bc8853a709e5a52c2565301a3d74eb
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Make message-allow-no-recipients 'always work
    
    * lisp/gnus/message.el (message-send): Make
    message-allow-no-recipients 'always work.
---
 lisp/gnus/message.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index c66b551..f33454e 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -4247,9 +4247,9 @@ It should typically alter the sending method in some way 
or other."
                (let ((fcc (message-fetch-field "Fcc"))
                      (gcc (message-fetch-field "Gcc")))
                  (when (or fcc gcc)
-                   (or (eq message-allow-no-recipients 'always)
-                       (and (not (eq message-allow-no-recipients 'never))
-                            (setq dont-barf-on-no-method
+                   (setq dont-barf-on-no-method
+                         (or (eq message-allow-no-recipients 'always)
+                             (and (not (eq message-allow-no-recipients 'never))
                                   (y-or-n-p
                                    (format "No receiver, perform %s anyway? "
                                            (cond ((and fcc gcc) "Fcc and Gcc")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]