diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-10-03 19:28:05 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-10-03 19:28:05 +0000 |
commit | e6e267fcba9251bbb7eeb66ca55c08e47c635ab8 (patch) | |
tree | 91cf36bb9e07372ef8df6bf3d52ec9da8119e05b /lisp/cedet/srecode/map.el | |
parent | ed6b01957ea6cc8a51a38e6094c202219b23e86d (diff) | |
download | emacs-e6e267fcba9251bbb7eeb66ca55c08e47c635ab8.tar.gz |
* cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
* files.el (auto-mode-alist): Add .srt and Project.ede.
* cedet/semantic.el (semantic-mode): Handle
srecode-template-mode-hook as well.
* cedet/srecode/template.el: Remove hook variable.
* cedet/ede/proj-comp.el: Require ede/pmake when compiling.
* cedet/ede.el (ede-target-forms-menu): Don't enable if no
projects exist.
* cedet/srecode/map.el (srecode-map-base-template-dir): Look for
templates in data-directory.
* cedet/ede/srecode.el (ede-srecode-setup): Use default templates
directory.
* cedet/semantic/util-modes.el (semantic-highlight-func-mode): Doc
fix.
* cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
Only insert each variable once.
* cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
(ede-pmake-insert-variable-shared): Use it.
* cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
for lexical table iff table is nil.
Diffstat (limited to 'lisp/cedet/srecode/map.el')
-rw-r--r-- | lisp/cedet/srecode/map.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/cedet/srecode/map.el b/lisp/cedet/srecode/map.el index 32723128325..dfe031c41ae 100644 --- a/lisp/cedet/srecode/map.el +++ b/lisp/cedet/srecode/map.el @@ -36,10 +36,7 @@ (defun srecode-map-base-template-dir () "Find the base template directory for SRecode." - (let* ((lib (locate-library "srecode.el")) - (dir (file-name-directory lib))) - (expand-file-name "templates/" dir) - )) + (expand-file-name "srecode" data-directory)) ;;; Current MAP ;; @@ -399,7 +396,7 @@ Return non-nil if the map changed." (list (srecode-map-base-template-dir) (expand-file-name "~/.srecode/") ) - "*Global load path for SRecode template files." + "Global load path for SRecode template files." :group 'srecode :type '(repeat file) :set 'srecode-map-load-path-set) |