]> git.eshelyaron.com Git - emacs.git/commitdiff
Use string> instead of equiv lambda with string<
authorTassilo Horn <tsdh@gnu.org>
Fri, 5 Jun 2015 21:58:39 +0000 (23:58 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 5 Jun 2015 21:58:39 +0000 (23:58 +0200)
* lisp/help.el (view-emacs-news): Use string> instead of equivalent
lambda with string<.

lisp/help.el

index 1411c1aab9a6dd304e285c92b8490f687d3f80fb..fd5cbc66ab27297923ee08e5e502da0c53c46c94 100644 (file)
@@ -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)