]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-make-dependencies): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Fri, 20 Sep 2002 03:44:38 +0000 (03:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 20 Sep 2002 03:44:38 +0000 (03:44 +0000)
lisp/cus-dep.el

index a73569203abe3d1a8e2adc83cfdd872c22f4635a..19ae727b2ddbd3efdf2cae786931f449b880712b 100644 (file)
@@ -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)