Skip to content
Snippets Groups Projects
Commit 965b44cd authored by Brad King's avatar Brad King
Browse files

ENH: Added comment-region support.

parent d73794f8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment