From: Gerd Moellmann Date: Mon, 7 May 2001 10:05:41 +0000 (+0000) Subject: (rmail-summary-sort-by-labels): Renamed X-Git-Tag: emacs-pretest-21.0.103~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e15dbc43fb4383b655a211155344bad7e1437c5c;p=emacs.git (rmail-summary-sort-by-labels): Renamed from rmail-summary-sort-by-keywords. Doc fix. (rmail-summary-mode): Doc fix. --- diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 048cee9dd9c..cf1d313b7f5 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -723,7 +723,7 @@ Commands for sorting the summary: \\[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 @@ Search, the `unseen' attribute is restored.") (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 @@ If prefix argument REVERSE is non-nil, sort them in reverse order." (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)