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
This commit is contained in:
parent
e4e4688922
commit
418b183024
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-11-10 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* srecode/srt-mode.el (srecode-template-mode):
|
||||
Don't change global values of comment-start, comment-end. (Bug#12781)
|
||||
|
||||
2012-10-25 David Engster <deng@randomsample.de>
|
||||
|
||||
* semantic/analyze.el (semantic-analyze-dereference-alias): New
|
||||
|
|
|
@ -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]\\)\\(\\\\\\\\\\)*\\);+ *")
|
||||
|
|
Loading…
Add table
Reference in a new issue