Don't allow message-newline-and-reformat to be run outside the body
commiteff6c6ac8503d44cf1d4cb2406fc57148b6a1844
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 26 Jan 2017 14:07:38 +0000 (26 15:07 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 26 Jan 2017 14:07:38 +0000 (26 15:07 +0100)
treed93f37c0ac4071f4bf27c01b40421c2f0d4d5bbb
parentb3a3ed526d2c490c9c5605707f0cd7bff3c88693
Don't allow message-newline-and-reformat to be run outside the body

* lisp/gnus/message.el (message-newline-and-reformat): Error
out if run outside the body of a message (bug#18820).
lisp/gnus/message.el