mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 22:20:52 -08:00
(pmail-get-summary-labels): If no attribute headers are found, use the
empty string.
This commit is contained in:
parent
404271997e
commit
85ab550bbb
1 changed files with 4 additions and 1 deletions
|
|
@ -362,7 +362,10 @@ the message being processed."
|
|||
char)
|
||||
;; 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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue