]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/message.el: Fix NNTP sending, broken by e51adfbdb7
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jun 2019 06:51:07 +0000 (02:51 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jun 2019 06:51:07 +0000 (02:51 -0400)
(message-check-news-header-syntax): `message--check-continuation-headers`
signals an error instead of returning nil on error.

lisp/gnus/message.el

index 9ce35cece47f36f4d74956d6b0a169a6f8113a55..986567faa1f2dc626dc196e04873acb8ca6f276a 100644 (file)
@@ -5165,8 +5165,8 @@ Otherwise, generate and save a value for `canlock-password' first."
           "Really post to %s unknown group%s: %s? "
           (if (= (length errors) 1) "this" "these")
           (if (= (length errors) 1) "" "s")
-          (mapconcat 'identity errors ", ")))))))
-   (message--check-continuation-headers)
+          (mapconcat #'identity errors ", ")))))))
+   (progn (message--check-continuation-headers) t)
    ;; Check the Newsgroups & Followup-To headers for syntax errors.
    (message-check 'valid-newsgroups
      (let ((case-fold-search t)