changeset 105418:0f5992576338

* cedet/semantic/db-file.el (semanticdb-default-save-directory): * cedet/srecode/map.el (srecode-map-save-file): * cedet/ede.el (ede-project-placeholder-cache-file): Use locate-user-emacs-file. Suggested by Juanma Barranquero.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 04 Oct 2009 01:03:51 +0000
parents a9208a10f543
children 2abed3b3f741
files lisp/ChangeLog lisp/cedet/ede.el lisp/cedet/semantic/db-file.el lisp/cedet/srecode/map.el
diffstat 4 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 04 00:42:47 2009 +0000
+++ b/lisp/ChangeLog	Sun Oct 04 01:03:51 2009 +0000
@@ -1,3 +1,10 @@
+2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
+
+	* cedet/semantic/db-file.el (semanticdb-default-save-directory):
+	* cedet/srecode/map.el (srecode-map-save-file):
+	* cedet/ede.el (ede-project-placeholder-cache-file): Use
+	locate-user-emacs-file.  Suggested by Juanma Barranquero.
+
 2009-10-04  Glenn Morris  <rgm@gnu.org>
 
 	* window.el (window-full-height-p): Add doc string.
--- a/lisp/cedet/ede.el	Sun Oct 04 00:42:47 2009 +0000
+++ b/lisp/cedet/ede.el	Sun Oct 04 01:03:51 2009 +0000
@@ -436,7 +436,7 @@
 ;;; The EDE persistent cache.
 ;;
 (defcustom ede-project-placeholder-cache-file
-  (expand-file-name "ede-projects.el" user-emacs-directory)
+  (locate-user-emacs-file "ede-projects.el" ".projects.ede")
   "File containing the list of projects EDE has viewed."
   :group 'ede
   :type 'file)
--- a/lisp/cedet/semantic/db-file.el	Sun Oct 04 00:42:47 2009 +0000
+++ b/lisp/cedet/semantic/db-file.el	Sun Oct 04 01:03:51 2009 +0000
@@ -43,7 +43,7 @@
   :type 'string)
 
 (defcustom semanticdb-default-save-directory
-  (expand-file-name "semanticdb" user-emacs-directory)
+  (locate-user-emacs-file "semanticdb" ".semanticdb")
   "Directory name where semantic cache files are stored.
 If this value is nil, files are saved in the current directory.  If the value
 is a valid directory, then it overrides `semanticdb-default-file-name' and
--- a/lisp/cedet/srecode/map.el	Sun Oct 04 00:42:47 2009 +0000
+++ b/lisp/cedet/srecode/map.el	Sun Oct 04 01:03:51 2009 +0000
@@ -45,7 +45,7 @@
   "The current map for global SRecode templates.")
 
 (defcustom srecode-map-save-file
-  (expand-file-name "srecode-map.el" user-emacs-directory)
+  (locate-user-emacs-file "srecode-map.el" ".srecode/srecode-map")
   "The save location for SRecode's map file.
 If the save file is nil, then the MAP is not saved between sessions."
   :group 'srecode