# HG changeset patch # User Alex Schroeder # Date 1137453289 0 # Node ID edcff75892b86dbf1d040d4c32e816617051d89b # Parent 8a27a461f50a652828ae1416eb91dcca3f999858 (rmail-display-labels): Use identity instead of lambda. diff -r 8a27a461f50a -r edcff75892b8 lisp/mail/rmail.el --- a/lisp/mail/rmail.el Mon Jan 16 23:09:44 2006 +0000 +++ b/lisp/mail/rmail.el Mon Jan 16 23:14:49 2006 +0000 @@ -1857,20 +1857,16 @@ ;; appear in the mode line. (defun rmail-display-labels () (let (keyword-list result) - ;; Update the keyword list for the current message. (if (> rmail-current-message 0) (setq keyword-list (rmail-desc-get-keywords rmail-current-message))) - ;; Generate the result string. - (setq result (mapconcat '(lambda (arg) arg) keyword-list " ")) - + (setq result (mapconcat 'identity keyword-list " ")) ;; Update the mode line to display the keywords, the current ;; message index and the total number of messages. (setq mode-line-process (format " %d/%d %s" rmail-current-message rmail-total-messages result)) - ;; If rmail-enable-mime is non-nil, we may have to update ;; `mode-line-process' of rmail-view-buffer too. (if (and rmail-enable-mime