Browse Source

add a comment

Bill Hoffman 23 năm trước cách đây
mục cha
commit
caeada7f27
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Docs/cmake-mode.el

+ 4 - 0
Docs/cmake-mode.el

@@ -22,6 +22,10 @@
 	   '(("CMakeLists\\.txt\\'" . cmake-mode))
 	   '(("CMakeLists\\.txt\\'" . cmake-mode))
 	   '(("\\.cmake\\'" . cmake-mode))
 	   '(("\\.cmake\\'" . cmake-mode))
 	   auto-mode-alist))
 	   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.
 ; Default indentation increment.
 (defvar cmake-tab-width 2)
 (defvar cmake-tab-width 2)