emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9533ed8: Use string> instead of equiv lambda with s


From: Tassilo Horn
Subject: [Emacs-diffs] master 9533ed8: Use string> instead of equiv lambda with string<
Date: Fri, 05 Jun 2015 22:03:39 +0000

branch: master
commit 9533ed8d05c347b513f8680ecde8d4120114b2b9
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/help.el b/lisp/help.el
index 1411c1a..fd5cbc6 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]