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
|
@ -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
Add a link
Reference in a new issue