Commit b904a238 authored by Eric Abrahamsen's avatar Eric Abrahamsen

Adjust regexp for parsing IMAP header response

* lisp/gnus/nnimap.el (nnimap-transform-headers): The first header
might have no value, or a continuation header might start with a
newline.
parent 33ed5718
Pipeline #2523 passed with stage
in 56 minutes and 44 seconds
......@@ -270,7 +270,7 @@ textual parts.")
(forward-line)
(null (looking-at-p
;; We're expecting a mail header.
"^[!-9;-~]+: "))))
"^[!-9;-~]+:[[:space:]]"))))
(delete-region (line-beginning-position)
(1+ (line-end-position)))
(setq lines nil)
......
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