From c8481b1b2c4157c7b30edee3d335daae028bd88d Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 21 Feb 2014 16:29:28 +0200 Subject: [PATCH] * lisp/electric.el (electric-indent-functions-without-reindent): Add `yaml-indent-line'. --- lisp/ChangeLog | 5 +++++ lisp/electric.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ecc299063ae..71bc7e48aef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-02-21 Dmitry Gutov + + * electric.el (electric-indent-functions-without-reindent): + Add `yaml-indent-line'. + 2014-02-21 Juanma Barranquero * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete. diff --git a/lisp/electric.el b/lisp/electric.el index 4549fcad83c..992553685e2 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -220,7 +220,7 @@ Python does not lend itself to fully automatic indentation.") (defvar electric-indent-functions-without-reindent '(indent-relative indent-to-left-margin indent-relative-maybe - py-indent-line coffee-indent-line org-indent-line + py-indent-line coffee-indent-line org-indent-line yaml-indent-line haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent) "List of indent functions that can't reindent. If `line-indent-function' is one of those, then `electric-indent-mode' will -- 2.39.2