summaryrefslogtreecommitdiff
path: root/lisp/cus-dep.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-09-18 16:01:21 +0000
committerRichard M. Stallman <rms@gnu.org>2002-09-18 16:01:21 +0000
commit8eb525031430fb01a1b367595f248a7d39f9c05c (patch)
treeb48037e8938c3e62268dd3f43561d457b4924a0b /lisp/cus-dep.el
parentbb5b7758d4a17a17099fc09ff52f5f8e6a8f61a6 (diff)
downloademacs-8eb525031430fb01a1b367595f248a7d39f9c05c.tar.gz
(custom-make-dependencies): Sort MEMBERS before use.
Diffstat (limited to 'lisp/cus-dep.el')
-rw-r--r--lisp/cus-dep.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el
index 4cb856cc044..9156bcec3bf 100644
--- a/lisp/cus-dep.el
+++ b/lisp/cus-dep.el
@@ -86,6 +86,8 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
(let ((members (get symbol 'custom-group))
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)