From 9533ed8d05c347b513f8680ecde8d4120114b2b9 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Fri, 5 Jun 2015 23:58:39 +0200 Subject: [PATCH] Use string> instead of equiv lambda with string< * lisp/help.el (view-emacs-news): Use string> instead of equivalent lambda with string<. --- lisp/help.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/help.el b/lisp/help.el index 1411c1aab9a..fd5cbc66ab2 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -360,7 +360,7 @@ With argument, display info only for the selected version." (cons "NEWS" (directory-files data-directory nil "^NEWS\\.[0-9][-0-9]*$" nil))) - (sort (delete-dups res) (lambda (a b) (string< b a))))) + (sort (delete-dups res) #'string>))) (current (car all-versions))) (setq version (completing-read (format "Read NEWS for the version (default %s): " current) -- 2.39.5