diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-18 07:23:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-18 07:23:25 +0000 |
commit | 9d7a2f3d0b23af5254f1d2bfea703f8a7420b581 (patch) | |
tree | 29a56543c40b3093b80ed56584111f2c9cab1898 /cmake-init.el | |
parent | 2f144d8aa616f9c4d5d4534919d6e32bbcebe0a0 (diff) |
automatic import of cmake
Diffstat (limited to 'cmake-init.el')
-rw-r--r-- | cmake-init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake-init.el b/cmake-init.el new file mode 100644 index 0000000..a5e0e2e --- /dev/null +++ b/cmake-init.el @@ -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)) |