Mercurial > emacs
changeset 105410:38782a5dda5e
* cedet/srecode/map.el (srecode-map-save-file): Default to a file in
user-emacs-directory.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 03 Oct 2009 20:38:30 +0000 |
parents | 5ae3de1af3a6 |
children | a7a62ad6dc29 |
files | lisp/ChangeLog lisp/cedet/srecode/map.el |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Oct 03 20:30:43 2009 +0000 +++ b/lisp/ChangeLog Sat Oct 03 20:38:30 2009 +0000 @@ -22,6 +22,8 @@ * cedet/srecode/map.el (srecode-map-base-template-dir): Look for templates in data-directory. + (srecode-map-save-file): Default to a file in + user-emacs-directory. * cedet/ede/srecode.el (ede-srecode-setup): Use default templates directory.
--- a/lisp/cedet/srecode/map.el Sat Oct 03 20:30:43 2009 +0000 +++ b/lisp/cedet/srecode/map.el Sat Oct 03 20:38:30 2009 +0000 @@ -44,7 +44,8 @@ (defvar srecode-current-map nil "The current map for global SRecode templates.") -(defcustom srecode-map-save-file (expand-file-name "~/.srecode/srecode-map") +(defcustom srecode-map-save-file + (expand-file-name "srecode-map" user-emacs-directory) "The save location for SRecode's map file. If the save file is nil, then the MAP is not saved between sessions." :group 'srecode