Add the cmake-init.el file
This commit is contained in:
parent
c5a90aac0c
commit
1b2f353be6
9
cmake-init.el
Normal file
9
cmake-init.el
Normal 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))
|
Loading…
Reference in New Issue
Block a user