Aidan Kehoe writes:
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Thu Jan 03 12:45:44 2008 +0100
files: lisp/ChangeLog lisp/cus-edit.el lisp/menubar-items.el
Create the containing directory for the custom and init files if necessary.
2008-01-03 Aidan Kehoe <kehoea(a)parhasard.net>
* cus-edit.el (custom-save-all):
If the directory containing the custom file doesn't exist, try to
create it. Fixes Nick's Crabtree's bug of
thank you Nick.
* menubar-items.el (default-menubar):
In the code to edit the user's init file, try to create the
containing directory if it doesn't exist.
Nuke that t out of make-directory, please. Creating the .xemacs or
_xemacs directory is a normal function of creating an init file;
creating $HOME or the equivalent is not.
Sure, some users won't care, but others will. We shouldn't just
proliferate random directories, that's even worse than the dump file
(about which we did get complaints, and even a "I don't know what this
is so I'll delete it" bug report IIRC).
XEmacs-Patches mailing list