[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/cus-dep.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/cus-dep.el |
Date: |
Thu, 19 Sep 2002 14:57:48 -0400 |
Index: emacs/lisp/cus-dep.el
diff -c emacs/lisp/cus-dep.el:1.18 emacs/lisp/cus-dep.el:1.19
*** emacs/lisp/cus-dep.el:1.18 Wed Sep 18 12:01:21 2002
--- emacs/lisp/cus-dep.el Thu Sep 19 14:57:48 2002
***************
*** 87,93 ****
item where found)
(when members
;; So x and no-x builds won't differ.
! (setq members (sort (copy-sequence members) 'string<))
(while members
(setq item (car (car members))
members (cdr members)
--- 87,103 ----
item where found)
(when members
;; 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)))))))
(while members
(setq item (car (car members))
members (cdr members)