]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
start auto-fill-mode with org-mode and latex-mode.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 20 Mar 2014 09:34:46 +0000 (10:34 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 20 Mar 2014 09:34:46 +0000 (10:34 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
init.el

diff --git a/init.el b/init.el
index ac3b3c39f8235b257a3bbef4b31f815b19c0f5d0..d0be5149b44e75b8ae0dc8588d49aa9ea1349c0b 100644 (file)
--- a/init.el
+++ b/init.el
@@ -385,6 +385,16 @@ bundle " name "
     (define-key cfengine3-mode-map "\C-c\C-c" 'compile)
     ))
 
+(add-hook 'org-mode-hook
+  (lambda ()
+    (auto-fill-mode)
+    ))
+
+(add-hook 'latex-mode-hook
+  (lambda ()
+    (auto-fill-mode)
+    ))
+
 
 (defun dns-rndc ()
 "Do rndc reload of current buffers filename."