diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-15 01:45:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-15 01:45:46 +0000 |
commit | d0fab23ed9c44c11b41cbd9b4688904e39e705b6 (patch) | |
tree | 8c5429c85b7cb5ee9b6e8e5015c025359dceb245 /cmake-init.el | |
parent | 3a41d61a6c124b631b0795d3951ef3ce384985d3 (diff) |
automatic import of cmakeopeneuler23.09
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)) |