* lisp/cus-dep.el (custom-make-dependencies): Don't overwrite
elements added by packages (bug#58015).
(prin1 (sort found #'string<))))
alist))))))
(dolist (e (sort alist (lambda (e1 e2) (string< (car e1) (car e2)))))
- (insert "(put '" (car e) " 'custom-loads '" (cdr e) ")\n")))
+ ;; Don't overwrite elements added by packages.
+ (insert "(put '" (car e)
+ " 'custom-loads (append '" (cdr e)
+ " (get '" (car e) " 'custom-loads)))\n")))
(insert "\
;; The remainder of this file is for handling :version.