Subject: Re: bug#13870: recentf-save-file defaults to the wrong directory
From: Stefan Monnier <[email-masked]>
To: Josh <[email-masked]>
Cc: [email-masked]
Date: Mon, 11 Mar 2013 16:37:49 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> The defcustom form for `recentf-save-file' contains a standard value
> of (convert-standard-filename "~/.recentf"), but additional per-user
> Emacs-specific files should be stored under `user-emacs-directory'
> according to its docstring.

Indeed, thank you.  I installed the patch below which should fix it,

        Stefan

=== modified file 'lisp/recentf.el'
--- lisp/recentf.el	2013-01-01 09:11:05 +0000
+++ lisp/recentf.el	2013-03-11 20:34:39 +0000
@@ -69,7 +69,7 @@
   :group 'recentf
   :type 'integer)
 
-(defcustom recentf-save-file (convert-standard-filename "~/.recentf")
+(defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf")
   "File to save the recent list into."
   :group 'recentf
   :type 'file