directory unreadable for better user privacy.
+2006-07-08 Stephen Gildea <gildea@stop.mail-abuse.org>
+
+ * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file
+ directory unreadable for better user privacy.
+
2006-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
* syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.
do_auto_save_make_dir (dir)
Lisp_Object dir;
{
- return call2 (Qmake_directory, dir, Qt);
+ Lisp_Object mode;
+
+ call2 (Qmake_directory, dir, Qt);
+ XSETFASTINT (mode, 0700);
+ return Fset_file_modes (dir, mode);
}
static Lisp_Object