summaryrefslogtreecommitdiff
path: root/lisp/gnus
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/message.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 079ed52ba51..a8f2b143f21 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -3119,7 +3119,7 @@ M-RET `message-newline-and-reformat' (break the line and reformat)."
;; hard way.
(progn
;; Skip past all headers and continuation lines.
- (while (looking-at "[^:]+:\\|[\t ]+[^\t ]")
+ (while (looking-at "[^\t\n :]+:\\|[\t ]+[^\t\n ]")
(forward-line 1))
;; We're now at the first empty line, so perhaps move past it.
(when (and (eolp)