From: Dmitry Gutov Date: Fri, 21 Feb 2014 14:29:28 +0000 (+0200) Subject: * lisp/electric.el (electric-indent-functions-without-reindent): X-Git-Tag: emacs-24.3.90~173^2^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8481b1b2c4157c7b30edee3d335daae028bd88d;p=emacs.git * lisp/electric.el (electric-indent-functions-without-reindent): Add `yaml-indent-line'. --- 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