From 08cb0c9f493876417086a140e0bc446ec7abee47 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 4 Mar 2016 15:45:37 +0100 Subject: [PATCH] yaml: set indent-offset @work. --- bba.org | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bba.org b/bba.org index 2bcf666c..163229c0 100644 --- a/bba.org +++ b/bba.org @@ -599,11 +599,15 @@ Use [[http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example][orgtbl]] t #+END_SRC * yaml mode -#+BEGIN_SRC emacs-lisp - ;; load yaml-mode - ;; (require 'yaml-mode) - ;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) +Adjust indentation at work. + +#+BEGIN_SRC emacs-lisp + ;; load yaml-mode + ;; (require 'yaml-mode) + ;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) + (if (equal "work" (getenv "SYSENV")) + (setq yaml-indent-offset 4)) #+END_SRC * htmlize -- 2.47.3