2576bb
;;
2576bb
;; Setup cmake-mode for autoloading
2576bb
;;
2576bb
(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake listfiles." t)
2576bb
(setq auto-mode-alist
2576bb
          (append
2576bb
           '(("CMakeLists\\.txt\\'" . cmake-mode))
2576bb
           '(("\\.cmake\\'" . cmake-mode))
2576bb
           auto-mode-alist))