]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
yaml-mode: disable auto-fill-mode
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Jun 2016 07:38:20 +0000 (09:38 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Jun 2016 07:38:20 +0000 (09:38 +0200)
bba.org

diff --git a/bba.org b/bba.org
index 3cac94e172c87bc6b92d59a2282726960ecd207e..14a3f114fdf2220d7245dd93e70ecfc60de514ee 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -637,6 +637,10 @@ Adjust indentation at work.
     ;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
   (if (equal "work" (getenv "SYSENV"))
       (setq yaml-indent-offset 4))
+  (add-hook 'yaml-mode-hook
+            (lambda()
+              (auto-fill-mode -1)))
+
 #+END_SRC
 
 * htmlize