From e6025d7240197bfd47cf649c5976533da6869a6e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 5 May 2014 15:04:40 -0400 Subject: [PATCH] * lisp/electric.el (electric-indent-functions-without-reindent): Add yaml. --- lisp/ChangeLog | 2 ++ lisp/electric.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bef5f1ba71f..9b21fd8cd66 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-05-05 Stefan Monnier + * electric.el (electric-indent-functions-without-reindent): Add yaml. + * minibuffer.el (completion-table-with-quoting) : Make sure the new point we return is within the new string (bug#17239). diff --git a/lisp/electric.el b/lisp/electric.el index 52b0595f7d9..e8ceaa6406c 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -221,7 +221,8 @@ 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 yaml-indent-line - haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent) + haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent + yaml-indent-line) "List of indent functions that can't reindent. If `line-indent-function' is one of those, then `electric-indent-mode' will not try to reindent lines. It is normally better to make the major -- 2.39.5