cmake/SOURCES/cmake-init.el

10 lines
285 B
EmacsLisp
Raw Normal View History

2021-11-03 18:34:00 +00:00
;;
;; 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))