diff options
| author | Chong Yidong | 2011-03-07 21:49:20 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-03-07 21:49:20 -0500 |
| commit | 2bb5649ecc88ee432a2313262b549e471c0df06a (patch) | |
| tree | 892bb8443a38b311690041ac8cf724a794ad5b2a | |
| parent | 0d53df48577fa3b4eb974bd3de299006a96e7bb9 (diff) | |
| download | emacs-2bb5649ecc88ee432a2313262b549e471c0df06a.tar.gz emacs-2bb5649ecc88ee432a2313262b549e471c0df06a.zip | |
* lisp/custom.el (custom-available-themes): Return themes in alphabetical order.
| -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 @@ | |||
| 1 | 2011-03-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * custom.el (custom-available-themes): Return themes in | ||
| 4 | alphabetical order. | ||
| 5 | |||
| 1 | 2011-03-07 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-03-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect | 8 | * 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." | |||
| 1219 | (setq sym (intern (match-string 1 file))) | 1219 | (setq sym (intern (match-string 1 file))) |
| 1220 | (custom-theme-name-valid-p sym) | 1220 | (custom-theme-name-valid-p sym) |
| 1221 | (push sym themes))))) | 1221 | (push sym themes))))) |
| 1222 | (delete-dups themes))) | 1222 | (nreverse (delete-dups themes)))) |
| 1223 | 1223 | ||
| 1224 | (defun custom-theme--load-path () | 1224 | (defun custom-theme--load-path () |
| 1225 | (let (lpath) | 1225 | (let (lpath) |