From 2bb5649ecc88ee432a2313262b549e471c0df06a Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 7 Mar 2011 21:49:20 -0500 Subject: [PATCH] * lisp/custom.el (custom-available-themes): Return themes in alphabetical order. --- lisp/ChangeLog | 5 +++++ lisp/custom.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1302bb414b2..03fbe15a616 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-03-08 Chong Yidong + + * custom.el (custom-available-themes): Return themes in + alphabetical order. + 2011-03-07 Chong Yidong * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect diff --git a/lisp/custom.el b/lisp/custom.el index e41e7c7bdf8..923321c03c9 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -1219,7 +1219,7 @@ NAME should be a symbol." (setq sym (intern (match-string 1 file))) (custom-theme-name-valid-p sym) (push sym themes))))) - (delete-dups themes))) + (nreverse (delete-dups themes)))) (defun custom-theme--load-path () (let (lpath) -- 2.39.5