# HG changeset patch # User Glenn Morris # Date 1233634075 0 # Node ID 4958df99b14cb91ccbeff58ffc187b14e8d3a64c # Parent 4c8d51496578162b4c59236df09c896b6a5556a6 (rmail-get-summary-labels): Treat empty labels as null. diff -r 4c8d51496578 -r 4958df99b14c lisp/mail/rmailsum.el --- a/lisp/mail/rmailsum.el Tue Feb 03 04:07:25 2009 +0000 +++ b/lisp/mail/rmailsum.el Tue Feb 03 04:07:55 2009 +0000 @@ -426,7 +426,9 @@ already be narrowed to the message headers for the message being processed." (let ((labels (mail-fetch-field rmail-keyword-header))) - (if labels (format "{ %s } " labels)))) + (and labels + (not (string-equal labels "")) + (format "{ %s } " labels)))) (defun rmail-create-summary (msgnum deleted unseen lines) "Return the summary line for message MSGNUM.