diff options
| author | Richard M. Stallman | 2002-09-20 03:44:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-09-20 03:44:38 +0000 |
| commit | 2912113bbdef96740a3b2fcee1724b99eb061dfd (patch) | |
| tree | 7c2673708ffa6eaba06bcc20d82d8398ea48d36e | |
| parent | 4986d1f19bfa64532a9e0c07be43f3c13c167687 (diff) | |
| download | emacs-2912113bbdef96740a3b2fcee1724b99eb061dfd.tar.gz emacs-2912113bbdef96740a3b2fcee1724b99eb061dfd.zip | |
(custom-make-dependencies): Fix previous change.
| -rw-r--r-- | lisp/cus-dep.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el index a73569203ab..19ae727b2dd 100644 --- a/lisp/cus-dep.el +++ b/lisp/cus-dep.el | |||
| @@ -89,15 +89,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS" | |||
| 89 | ;; So x and no-x builds won't differ. | 89 | ;; So x and no-x builds won't differ. |
| 90 | (setq members | 90 | (setq members |
| 91 | (sort (copy-sequence members) | 91 | (sort (copy-sequence members) |
| 92 | (lambda (x y) | 92 | (lambda (x y) (string< (car x) (car y))))) |
| 93 | (cond ((and (stringp x) (stringp y)) | ||
| 94 | (string< x y)) | ||
| 95 | ;; Put all non-strings before strings. | ||
| 96 | ((stringp y) t) | ||
| 97 | ((stringp x) nil) | ||
| 98 | ;; For two non-strings, | ||
| 99 | ;; use the order they appear in MEMBERS. | ||
| 100 | (t (member y (member x members))))))) | ||
| 101 | (while members | 93 | (while members |
| 102 | (setq item (car (car members)) | 94 | (setq item (car (car members)) |
| 103 | members (cdr members) | 95 | members (cdr members) |