Mercurial > hg > xemacs-beta
diff lisp/cus-dep.el @ 2544:b4a8cd0dd8df
[xemacs-hg @ 2005-02-03 04:29:32 by ben]
behavior ws #1: custom updates
cus-dep.el: If a directory has no custom dependencies, write a blank
custom-load file rather than deleting the file, so that
time-based rebuild checking will work.
cus-edit.el: Split out code in custom-load-symbol. Support loading of
the new custom-defines file.
cus-edit.el: Split long menus.
custom.el: Sync with FSF 21.3.
author | ben |
---|---|
date | Thu, 03 Feb 2005 04:29:33 +0000 |
parents | 1b4bc72f433e |
children | 308d34e9f07d |
line wrap: on
line diff
--- a/lisp/cus-dep.el Wed Feb 02 22:51:40 2005 +0000 +++ b/lisp/cus-dep.el Thu Feb 03 04:29:33 2005 +0000 @@ -173,11 +173,8 @@ )) (cond ((zerop (hash-table-count hash)) - (if (not (file-exists-p cusload-file)) - (message "(No customization dependencies)") - (message "(No customization dependencies, deleting %s)" - cusload-file) - (delete-file cusload-file))) + (message "(No customization dependencies)") + (write-region "" nil cusload-file)) (t (message "Generating %s...\n" cusload-base-file) (with-temp-file cusload-file