Mercurial > emacs
changeset 37590:003e23c611eb
(rmail-summary-sort-by-labels): Renamed
from rmail-summary-sort-by-keywords. Doc fix.
(rmail-summary-mode): Doc fix.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 07 May 2001 10:05:41 +0000 |
parents | f6d996921604 |
children | 0858ec0fee79 |
files | lisp/mail/rmailsum.el |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el Mon May 07 09:59:43 2001 +0000 +++ b/lisp/mail/rmailsum.el Mon May 07 10:05:41 2001 +0000 @@ -723,7 +723,7 @@ \\[rmail-summary-sort-by-recipient] Sort by recipient. \\[rmail-summary-sort-by-correspondent] Sort by correspondent. \\[rmail-summary-sort-by-lines] Sort by lines. -\\[rmail-summary-sort-by-keywords] Sort by keywords." +\\[rmail-summary-sort-by-labels] Sort by labels." (interactive) (kill-all-local-variables) (setq major-mode 'rmail-summary-mode) @@ -893,7 +893,7 @@ (define-key rmail-summary-mode-map "\C-c\C-s\C-l" 'rmail-summary-sort-by-lines) (define-key rmail-summary-mode-map "\C-c\C-s\C-k" - 'rmail-summary-sort-by-keywords) + 'rmail-summary-sort-by-labels) ) ;;; Menu bar bindings. @@ -1610,14 +1610,14 @@ (interactive "P") (rmail-sort-from-summary (function rmail-sort-by-lines) reverse)) -(defun rmail-summary-sort-by-keywords (reverse labels) - "Sort messages of current Rmail summary by keywords. +(defun rmail-summary-sort-by-labels (reverse labels) + "Sort messages of current Rmail summary by labels. If prefix argument REVERSE is non-nil, sort them in reverse order. KEYWORDS is a comma-separated list of labels." (interactive "P\nsSort by labels: ") (rmail-sort-from-summary (function (lambda (reverse) - (rmail-sort-by-keywords reverse labels))) + (rmail-sort-by-labels reverse labels))) reverse)) (defun rmail-sort-from-summary (sortfun reverse)