diff options
author | Brad King <brad.king@kitware.com> | 2003-06-29 20:20:14 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-29 20:20:14 -0400 |
commit | 965b44cdd578acd870866f354507fe2d389b127b (patch) | |
tree | 41e1f940e46ef4422fb7bd1956c9e119c3c242a1 /Docs | |
parent | d73794f814391d52d406616116756c19914ed897 (diff) | |
download | cmake-965b44cdd578acd870866f354507fe2d389b127b.tar.gz |
ENH: Added comment-region support.
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/cmake-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 40d8d19e5a..9c1203625e 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. |