Commit bfc03247 authored by Chong Yidong's avatar Chong Yidong
Browse files

(rmail-summary-by-labels): Correctly handle return value of

rmail-get-labels.
parent 1a1115b2
......@@ -90,7 +90,9 @@ LABELS should be a string containing the desired labels, separated by commas."
(rmail-new-summary (concat "labels " labels)
(list 'rmail-summary-by-labels labels)
'rmail-message-labels-p
(concat ", \\(" (mail-comma-list-regexp labels) "\\),")))
(concat " \\("
(mail-comma-list-regexp labels)
"\\)\\(,\\|\\'\\)")))
;;;###autoload
(defun rmail-summary-by-recipients (recipients &optional primary-only)
......
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