diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-05-05 15:04:40 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-05-05 15:04:40 -0400 |
commit | e6025d7240197bfd47cf649c5976533da6869a6e (patch) | |
tree | 0b0f617b349651f217bcbf2004718e10863cdb63 /lisp/electric.el | |
parent | 879e36286d46283ac4b3e794c502bfac4c33016d (diff) | |
download | emacs-e6025d7240197bfd47cf649c5976533da6869a6e.tar.gz emacs-e6025d7240197bfd47cf649c5976533da6869a6e.tar.bz2 emacs-e6025d7240197bfd47cf649c5976533da6869a6e.zip |
* lisp/electric.el (electric-indent-functions-without-reindent): Add yaml.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |