Commit 85ab550b authored by Chong Yidong's avatar Chong Yidong
Browse files

(pmail-get-summary-labels): If no attribute headers are found, use the

empty string.
parent 40427199
......@@ -362,7 +362,10 @@ the message being processed."
;; Strip off the read/unread and the deleted attribute which are
;; handled separately.
(setq status (concat (substring status 0 1) (substring status 2 6)))
(setq status
(if status
(concat (substring status 0 1) (substring status 2 6))
(while (< index (length status))
(unless (string= "-" (setq char (substring status index (1+ index))))
(setq result (concat result char)))
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