]> code.delx.au - gnu-emacs/commitdiff
* lisp/recentf.el (recentf-save-file): Use locate-user-emacs-file.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Mar 2013 20:37:00 +0000 (16:37 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Mar 2013 20:37:00 +0000 (16:37 -0400)
Fixes: debbugs:13870
etc/NEWS
lisp/ChangeLog
lisp/recentf.el

index 27218ed8bf0165b4d55016c9d6b83d8ce7425f35..f7b986f6bfbfc85426e07cf28787f3eedb4ae77d 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -85,6 +85,8 @@ Eg View mode, etc.
 \f
 * 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
index bdfa6ae25acdf9aadff8d52883760a13b4dc2069..e392fb286b6ee564b68191c738cba3428e91cc55 100644 (file)
@@ -1,3 +1,7 @@
+2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
+
 2013-03-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 
        * net/net-utils.el (net-utils-remove-ctrl-m-filter):
index 02e5b09b981ea3f8b6c17523ae05d7a7e6bc1673..a4e4359999f515eeee1a3f6284568350604bd163 100644 (file)
@@ -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