summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-03-07 21:49:20 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-03-07 21:49:20 -0500
commit2bb5649ecc88ee432a2313262b549e471c0df06a (patch)
tree892bb8443a38b311690041ac8cf724a794ad5b2a /lisp
parent0d53df48577fa3b4eb974bd3de299006a96e7bb9 (diff)
downloademacs-2bb5649ecc88ee432a2313262b549e471c0df06a.tar.gz
* lisp/custom.el (custom-available-themes): Return themes in alphabetical order.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/custom.el2
2 files changed, 6 insertions, 1 deletions
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 <cyd@stupidchicken.com>
+
+ * custom.el (custom-available-themes): Return themes in
+ alphabetical order.
+
2011-03-07 Chong Yidong <cyd@stupidchicken.com>
* 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)