For xemacs-21.5.
The patch makes `custom' save variables and faces in alphabetic order. It also
improves custom-save-... to work about 2-3 times faster.
Thanks to Adrian, he put the patch under thorough testing. Still it would be
greate if someone try it in xemacs-21.5.
Nick.
2002-04-12 Nickolay Pakoulin <npak(a)ispras.ru>
* cus-edit.el (custom-save-delete-any): New function
(--csr-ignored-special): New variable
(--csr-started-writing): New variable
(make-custom-save-resets-mapper): New macro
(custom-save-resets-mapper-alist): New constant
(custom-save-resets): Modified
Save customized values MUCH faster by keeping often used lambdas
in cash `custom-save-resets-mapper-alist' instead of building them
on the fly in `custom-save-resets'.
* cus-edit.el (custom-save-pretty-print): New variable
(custom-save-variable-p): New function
(custom-save-variable-internal): New function
(custom-save-variables): Modified
(custom-save-face-p): New function
(custom-save-face-internal): Modified
(custom-save-faces): Modified
Save customized variables and faces in the alphabetic order.
`custom-save-pretty-print' turns on/off pretty-printing values.