Commit 435af801 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Fix message-cross-post-followup-to group names

* lisp/gnus/message.el (message-cross-post-followup-to): Don't
insert group names like "nntp+foo:zot", because those aren't valid.
parent 22e239cb
......@@ -2467,6 +2467,8 @@ With prefix-argument just set Follow-Up, don't cross-post."
nil nil '("poster" . 0)
(if (boundp 'gnus-group-history)
(when (fboundp 'gnus-group-real-name)
(setq target-group (gnus-group-real-name target-group)))
(cond ((not (or (null target-group) ; new subject not empty
(zerop (string-width target-group))
(string-match "^[ \t]*$" target-group)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment