diff doc/emacs/files.texi @ 112266:704fa1a3d5b4

Make last-resort backup file in .emacs.d (Bug#6953). * lisp/files.el (backup-buffer): Make last-resort backup file in .emacs.d. * lisp/subr.el (locate-user-emacs-file): If .emacs.d does not exist, make it with permission 700. * doc/emacs/files.texi (Backup Names): Document the new location of the last-resort backup file.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 14 Jan 2011 21:32:19 -0500
parents 46b831ee7e9c
children cc0887b67703
line wrap: on
line diff
--- a/doc/emacs/files.texi	Fri Jan 14 13:08:53 2011 +0900
+++ b/doc/emacs/files.texi	Fri Jan 14 21:32:19 2011 -0500
@@ -566,10 +566,10 @@
 appending @samp{~} to the file name being edited; thus, the backup
 file for @file{eval.c} would be @file{eval.c~}.
 
-  If access control stops Emacs from writing backup files under the usual
-names, it writes the backup file as @file{%backup%~} in your home
-directory.  Only one such file can exist, so only the most recently
-made such backup is available.
+  If access control stops Emacs from writing backup files under the
+usual names, it writes the backup file as @file{~/.emacs.d/%backup%~}.
+Only one such file can exist, so only the most recently made such
+backup is available.
 
   Emacs can also make @dfn{numbered backup files}.  Numbered backup
 file names contain @samp{.~}, the number, and another @samp{~} after