Commit 5c950923 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

* mail/rmail.el (rmail-get-attr-names):

Accept an attribute header that is too short.
parent 1fc01b08
2009-08-13 Richard Stallman <rms@gnu.org>
* mail/rmail.el (rmail-get-attr-names):
Accept an attribute header that is too short.
* progmodes/compile.el (compilation-goto-locus):
Use next-error-move-function.
......
......@@ -2157,9 +2157,9 @@ If MSG is nil, use the current message."
(nmax (length rmail-attr-array))
result temp)
(when value
(if (/= (length value) nmax)
(if (> (length value) nmax)
(message "Warning: corrupt attribute header in message")
(dotimes (index nmax)
(dotimes (index (length value))
(setq temp (and (not (= ?- (aref value index)))
(nth 1 (aref rmail-attr-array index)))
result
......
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