summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/cus-dep.el10
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"
;; So x and no-x builds won't differ.
(setq members
(sort (copy-sequence members)
- (lambda (x y)
- (cond ((and (stringp x) (stringp y))
- (string< x y))
- ;; Put all non-strings before strings.
- ((stringp y) t)
- ((stringp x) nil)
- ;; For two non-strings,
- ;; use the order they appear in MEMBERS.
- (t (member y (member x members)))))))
+ (lambda (x y) (string< (car x) (car y)))))
(while members
(setq item (car (car members))
members (cdr members)