summaryrefslogtreecommitdiff
path: root/lisp/cus-dep.el
diff options
context:
space:
mode:
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)