[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13870: recentf-save-file defaults to the wrong directory
From: |
Stefan Monnier |
Subject: |
bug#13870: recentf-save-file defaults to the wrong directory |
Date: |
Mon, 11 Mar 2013 16:37:49 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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