summaryrefslogtreecommitdiffstats
path: root/Docs
diff options
context:
space:
mode:
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.