Make message-allow-no-recipients 'always work

* lisp/gnus/message.el (message-send): Make
message-allow-no-recipients 'always work.
This commit is contained in:
Lars Ingebrigtsen 2019-11-27 12:44:58 +01:00
parent 215f678c72
commit fd63880540

View file

@ -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")