Commit 9533ed8d authored by Tassilo Horn's avatar Tassilo Horn

Use string> instead of equiv lambda with string<

* lisp/help.el (view-emacs-news): Use string> instead of equivalent
lambda with string<.
parent b0eb6682
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment