From: Stefan Monnier Date: Mon, 11 Mar 2013 20:37:00 +0000 (-0400) Subject: * lisp/recentf.el (recentf-save-file): Use locate-user-emacs-file. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~568^2~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e56221d55000f52ca15c75d772db1ddf150de016;p=emacs.git * lisp/recentf.el (recentf-save-file): Use locate-user-emacs-file. Fixes: debbugs:13870 --- diff --git a/etc/NEWS b/etc/NEWS index 27218ed8bf0..f7b986f6bfb 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -85,6 +85,8 @@ Eg View mode, etc. * Changes in Specialized Modes and Packages in Emacs 24.4 +** Recentf looks for ~/.emacs.d/recentf additionally to ~/.recentf. + ** Delphi mode is now called OPascal mode. *** All delphi-* variables and functions have been renamed to opascal-*. *** `delphi-newline-always-indents' is not supported any more diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bdfa6ae25ac..e392fb286b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-03-11 Stefan Monnier + + * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870). + 2013-03-11 Thierry Volpiatto * net/net-utils.el (net-utils-remove-ctrl-m-filter): diff --git a/lisp/recentf.el b/lisp/recentf.el index 02e5b09b981..a4e4359999f 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -69,7 +69,7 @@ See the command `recentf-save-list'." :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