summaryrefslogtreecommitdiffstats
path: root/Docs
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-30 00:20:14 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-30 00:20:14 (GMT)
commit965b44cdd578acd870866f354507fe2d389b127b (patch)
tree41e1f940e46ef4422fb7bd1956c9e119c3c242a1 /Docs
parentd73794f814391d52d406616116756c19914ed897 (diff)
downloadCMake-965b44cdd578acd870866f354507fe2d389b127b.zip
CMake-965b44cdd578acd870866f354507fe2d389b127b.tar.gz
CMake-965b44cdd578acd870866f354507fe2d389b127b.tar.bz2
ENH: Added comment-region support.
Diffstat (limited to 'Docs')
-rw-r--r--Docs/cmake-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el
index 40d8d19..9c12036 100644
--- a/Docs/cmake-mode.el
+++ b/Docs/cmake-mode.el
@@ -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.