ENH: Added comment-region support.

This commit is contained in:
Brad King 2003-06-29 20:20:14 -04:00
parent d73794f814
commit 965b44cdd5
1 changed files with 4 additions and 1 deletions

View File

@ -148,7 +148,6 @@
(modify-syntax-entry ?\) ")(" cmake-mode-syntax-table)
(modify-syntax-entry ?# "<" cmake-mode-syntax-table)
(modify-syntax-entry ?\n ">" cmake-mode-syntax-table)
; Setup font-lock mode.
(make-local-variable 'font-lock-defaults)
@ -158,6 +157,10 @@
(make-local-variable 'indent-line-function)
(setq indent-line-function 'cmake-indent)
; Setup comment syntax.
(make-local-variable 'comment-start)
(setq comment-start "#")
(run-hooks 'cmake-mode-hook))
; This file provides cmake-mode.