Commit a367620f authored by Miles Bader's avatar Miles Bader
Browse files

Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 108-110)

   - Merge from emacs--devo--0
   - Clean up merge mistakes
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-321
parent 4e78977e
2006-06-20 Katsumi Yamaoka <yamaoka@jpl.org>
* rfc2231.el (rfc2231-parse-string): Allow `*'s in parameter values.
2006-06-19 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-syntax-checks): Doc fix.
......
......@@ -176,14 +176,14 @@ must never cause a Lisp error."
(buffer-substring
(point)
(progn
(forward-sexp)
;; We might not have reached at the end of
;; the value because of non-ascii chars,
;; so we should jump over them if any.
(while (and (not (eobp))
(> (char-after) ?\177))
;; Jump over asterisk, non-ASCII
;; and non-boundary characters.
(while (and c
(or (eq c ?*)
(> c ?\177)
(not (eq (char-syntax c) ? ))))
(forward-char 1)
(forward-sexp))
(setq c (char-after)))
(point)))))
(t
(error "Invalid header: %s" string)))
......
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