diff options
| author | Michael Albinus | 2014-08-29 20:10:15 +0200 |
|---|---|---|
| committer | Michael Albinus | 2014-08-29 20:10:15 +0200 |
| commit | f894b23d7fe3125b807b171fb779fed15d02be07 (patch) | |
| tree | 7812f5f5b735064e8b6359da2694411c974e8707 | |
| parent | b579ae53e46fa9bc9a242e4d5ce524097b3150ef (diff) | |
| download | emacs-f894b23d7fe3125b807b171fb779fed15d02be07.tar.gz emacs-f894b23d7fe3125b807b171fb779fed15d02be07.zip | |
* authors.el (authors): Use LOCALE argument of `string-collate-lessp'.
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rw-r--r-- | admin/authors.el | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 17381568580..6ae82aac327 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-08-29 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * authors.el (authors): Use LOCALE argument of `string-collate-lessp'. | ||
| 4 | |||
| 1 | 2014-08-28 Michael Albinus <michael.albinus@gmx.de> | 5 | 2014-08-28 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * authors.el (authors-aliases): Addition. | 7 | * authors.el (authors-aliases): Addition. |
diff --git a/admin/authors.el b/admin/authors.el index 1682788f2e8..248d0bf576a 100644 --- a/admin/authors.el +++ b/admin/authors.el | |||
| @@ -1313,11 +1313,9 @@ list of their contributions.\n") | |||
| 1313 | (let (authors-author-list) | 1313 | (let (authors-author-list) |
| 1314 | (maphash #'authors-add-to-author-list table) | 1314 | (maphash #'authors-add-to-author-list table) |
| 1315 | (setq authors-author-list | 1315 | (setq authors-author-list |
| 1316 | (let ((process-environment (cons "LC_COLLATE=en_US.UTF-8" | 1316 | (sort authors-author-list |
| 1317 | process-environment))) | 1317 | (lambda (a b) |
| 1318 | (sort authors-author-list | 1318 | (string-collate-lessp (car a) (car b) "en_US.UTF-8")))) |
| 1319 | (lambda (a b) | ||
| 1320 | (string-collate-lessp (car a) (car b)))))) | ||
| 1321 | (dolist (a authors-author-list) | 1319 | (dolist (a authors-author-list) |
| 1322 | (let ((author (car a)) | 1320 | (let ((author (car a)) |
| 1323 | (wrote (nth 1 a)) | 1321 | (wrote (nth 1 a)) |