Commit 2f79fdf0 authored by Chong Yidong's avatar Chong Yidong

* cedet/srecode/map.el (srecode-map-save-file): Default to a file in

user-emacs-directory.
parent 0b8cafba
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment