Commit e6025d72 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/electric.el (electric-indent-functions-without-reindent): Add yaml.

parent 879e3628
2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca> 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
* electric.el (electric-indent-functions-without-reindent): Add yaml.
* minibuffer.el (completion-table-with-quoting) <completion--unquote>: * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
Make sure the new point we return is within the new string (bug#17239). Make sure the new point we return is within the new string (bug#17239).
......
...@@ -221,7 +221,8 @@ Python does not lend itself to fully automatic indentation.") ...@@ -221,7 +221,8 @@ Python does not lend itself to fully automatic indentation.")
(defvar electric-indent-functions-without-reindent (defvar electric-indent-functions-without-reindent
'(indent-relative indent-to-left-margin indent-relative-maybe '(indent-relative indent-to-left-margin indent-relative-maybe
py-indent-line coffee-indent-line org-indent-line yaml-indent-line 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. "List of indent functions that can't reindent.
If `line-indent-function' is one of those, then `electric-indent-mode' will 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 not try to reindent lines. It is normally better to make the major
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment