diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:48:59 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:48:59 +0000 |
commit | 507776a2dd7afb492c1e0deee549f451c15a746d (patch) | |
tree | 9458a4b0994354375e13950218f97ce9373a5d92 /cmake-init.el | |
parent | 0e9d5eadac484575a18405eacb0362c3bff14eba (diff) |
automatic import of cmakeopeneuler24.03_LTS
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)) |