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

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.
This commit is contained in:
Eric Abrahamsen 2019-07-22 10:00:06 -07:00
parent 33ed571808
commit b904a238a5

View file

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