diff options
| author | Chong Yidong | 2009-01-23 19:20:01 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-01-23 19:20:01 +0000 |
| commit | bfc032477c0fbb2cae9cfda13df4a28bca5476d7 (patch) | |
| tree | e33d96981d4f0de3c834e95fee0e84798a5232e5 | |
| parent | 1a1115b2c1b03a0021b7907018beb09f81f60350 (diff) | |
| download | emacs-bfc032477c0fbb2cae9cfda13df4a28bca5476d7.tar.gz emacs-bfc032477c0fbb2cae9cfda13df4a28bca5476d7.zip | |
(rmail-summary-by-labels): Correctly handle return value of
rmail-get-labels.
| -rw-r--r-- | lisp/mail/rmailsum.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index f7bd2df41b2..79bb8bc2ef3 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -90,7 +90,9 @@ LABELS should be a string containing the desired labels, separated by commas." | |||
| 90 | (rmail-new-summary (concat "labels " labels) | 90 | (rmail-new-summary (concat "labels " labels) |
| 91 | (list 'rmail-summary-by-labels labels) | 91 | (list 'rmail-summary-by-labels labels) |
| 92 | 'rmail-message-labels-p | 92 | 'rmail-message-labels-p |
| 93 | (concat ", \\(" (mail-comma-list-regexp labels) "\\),"))) | 93 | (concat " \\(" |
| 94 | (mail-comma-list-regexp labels) | ||
| 95 | "\\)\\(,\\|\\'\\)"))) | ||
| 94 | 96 | ||
| 95 | ;;;###autoload | 97 | ;;;###autoload |
| 96 | (defun rmail-summary-by-recipients (recipients &optional primary-only) | 98 | (defun rmail-summary-by-recipients (recipients &optional primary-only) |