From: Andreas Gerler Date: Fri, 4 Mar 2016 14:45:37 +0000 (+0100) Subject: yaml: set indent-offset @work. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=08cb0c9f493876417086a140e0bc446ec7abee47;p=emacsconfig.git yaml: set indent-offset @work. --- 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