1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/gnus/message.el: Fix NNTP sending, broken by e51adfbdb7

(message-check-news-header-syntax): `message--check-continuation-headers`
signals an error instead of returning nil on error.
This commit is contained in:
Stefan Monnier 2019-06-14 02:51:07 -04:00
parent 5e09ace074
commit 622bfdffa8

View 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)