diff options
author | Glenn Morris <rgm@gnu.org> | 2012-11-10 15:43:47 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-11-10 15:43:47 -0800 |
commit | 418b1830241ccc5ce4e3574c80d714ec0427fa4c (patch) | |
tree | 83eac00715118bfef918b04de7c4b0ad47bcd7b8 /lisp/cedet/srecode | |
parent | e4e46889223296e8875548d278340b21db449a4a (diff) | |
download | emacs-418b1830241ccc5ce4e3574c80d714ec0427fa4c.tar.gz emacs-418b1830241ccc5ce4e3574c80d714ec0427fa4c.tar.bz2 emacs-418b1830241ccc5ce4e3574c80d714ec0427fa4c.zip |
Add missing make-local-variable calls in srt-mode.el
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Don't change global values of comment-start, comment-end.
Fixes: debbugs:12781
Diffstat (limited to 'lisp/cedet/srecode')
-rw-r--r-- | lisp/cedet/srecode/srt-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 12fc08b90e4..298c8949435 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el @@ -189,8 +189,8 @@ we can tell font lock about them.") ;;;###autoload (define-derived-mode srecode-template-mode fundamental-mode "SRecorder" "Major-mode for writing SRecode macros." - (setq comment-start ";;" - comment-end "") + (set (make-local-variable 'comment-start) ";;") + (set (make-local-variable 'comment-end) "") (set (make-local-variable 'parse-sexp-ignore-comments) t) (set (make-local-variable 'comment-start-skip) "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *") |