[cmake] Add the cmake-init.el file
Orion Poplawski
orion at fedoraproject.org
Thu Oct 10 22:37:35 UTC 2013
commit 1b2f353be6d01cbea792601e856135d0c4453b40
Author: Orion Poplawski <orion at nwra.com>
Date: Thu Oct 10 16:37:30 2013 -0600
Add the cmake-init.el file
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))
More information about the scm-commits
mailing list