]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
yaml-mode: keep whitespaces
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 26 Apr 2017 11:22:18 +0000 (13:22 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 26 Apr 2017 11:22:18 +0000 (13:22 +0200)
* disabled delete-trailing-whitespaces for yaml-mode.

Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index fb50c29bbd45c5b2ec81fca0ff23c18db5424ba7..650fa882294b8a75f84e91c158c41078624517d8 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -676,7 +676,8 @@ Adjust indentation at work.
       (setq yaml-indent-offset 4))
   (add-hook 'yaml-mode-hook
             (lambda()
-              (auto-fill-mode -1)))
+              (auto-fill-mode -1)
+           (setq bba-keep-whitespaces 1)))
 
 #+END_SRC