Add the cmake-init.el file

This commit is contained in:
Orion Poplawski 2013-10-10 16:37:30 -06:00
parent c5a90aac0c
commit 1b2f353be6

9
cmake-init.el Normal file
View File

@ -0,0 +1,9 @@
;;
;; Setup cmake-mode for autoloading
;;
(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake listfiles." t)
(setq auto-mode-alist
(append
'(("CMakeLists\\.txt\\'" . cmake-mode))
'(("\\.cmake\\'" . cmake-mode))
auto-mode-alist))