diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/custom.el | 2 |
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) |
