]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
cfengine3-mode as default for *.cf files.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 13 Aug 2014 13:18:19 +0000 (15:18 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 13 Aug 2014 13:18:19 +0000 (15:18 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index aba9db2b229d336b47eabadcbfb75447291ac32d..5868cc787fec3dded423fb793c27563d74860410 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -530,7 +530,8 @@ javascript:location.href='org-protocol://capture:/l/'%20+%20encodeURIComponent(l
 
 #+BEGIN_SRC emacs-lisp
   (load-library "cfengine")
-
+  (add-to-list 'auto-mode-alist '("\\.cf$" . cfengine3-mode))
+  
   ;; post-commit and post-merge hook for git:
   ;; #!/bin/bash
   ;; rm .git/etags
@@ -607,8 +608,8 @@ javascript:location.href='org-protocol://capture:/l/'%20+%20encodeURIComponent(l
       (define-key cfengine3-mode-map "\C-cu" 'cfe-config-adduser-ldap)
       (define-key cfengine3-mode-map "\C-c\C-c" 'compile)
       ))
-
-
+  
+  
 #+END_SRC
 
 *** mwheel