summaryrefslogtreecommitdiffstats
path: root/Docs
diff options
context:
space:
mode:
Diffstat (limited to 'Docs')
-rw-r--r--Docs/cmake-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el
index f38ec27..bf21fc0 100644
--- a/Docs/cmake-mode.el
+++ b/Docs/cmake-mode.el
@@ -22,6 +22,10 @@
'(("CMakeLists\\.txt\\'" . cmake-mode))
'(("\\.cmake\\'" . cmake-mode))
auto-mode-alist))
+; Note, add the above setq auto-mode-alist to your .emacs
+; along with the following to have the mode loaded when
+; a CMakeLists.txt or *.cmake file is loaded in emacs.
+; (autoload 'cmake-mode "~/CMake/Docs/cmake-mode.el" t)
; Default indentation increment.
(defvar cmake-tab-width 2)