diff options
| -rw-r--r-- | lisp/mail/pmailsum.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mail/pmailsum.el b/lisp/mail/pmailsum.el index 0fed20e2e5c..ce72701390e 100644 --- a/lisp/mail/pmailsum.el +++ b/lisp/mail/pmailsum.el | |||
| @@ -362,7 +362,10 @@ the message being processed." | |||
| 362 | char) | 362 | char) |
| 363 | ;; Strip off the read/unread and the deleted attribute which are | 363 | ;; Strip off the read/unread and the deleted attribute which are |
| 364 | ;; handled separately. | 364 | ;; handled separately. |
| 365 | (setq status (concat (substring status 0 1) (substring status 2 6))) | 365 | (setq status |
| 366 | (if status | ||
| 367 | (concat (substring status 0 1) (substring status 2 6)) | ||
| 368 | "")) | ||
| 366 | (while (< index (length status)) | 369 | (while (< index (length status)) |
| 367 | (unless (string= "-" (setq char (substring status index (1+ index)))) | 370 | (unless (string= "-" (setq char (substring status index (1+ index)))) |
| 368 | (setq result (concat result char))) | 371 | (setq result (concat result char))) |