diff options
| author | Stefan Monnier | 2014-05-05 15:04:40 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-05-05 15:04:40 -0400 |
| commit | e6025d7240197bfd47cf649c5976533da6869a6e (patch) | |
| tree | 0b0f617b349651f217bcbf2004718e10863cdb63 | |
| parent | 879e36286d46283ac4b3e794c502bfac4c33016d (diff) | |
| download | emacs-e6025d7240197bfd47cf649c5976533da6869a6e.tar.gz emacs-e6025d7240197bfd47cf649c5976533da6869a6e.zip | |
* lisp/electric.el (electric-indent-functions-without-reindent): Add yaml.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/electric.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bef5f1ba71f..9b21fd8cd66 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * electric.el (electric-indent-functions-without-reindent): Add yaml. | ||
| 4 | |||
| 3 | * minibuffer.el (completion-table-with-quoting) <completion--unquote>: | 5 | * minibuffer.el (completion-table-with-quoting) <completion--unquote>: |
| 4 | Make sure the new point we return is within the new string (bug#17239). | 6 | Make sure the new point we return is within the new string (bug#17239). |
| 5 | 7 | ||
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.") | |||
| 221 | (defvar electric-indent-functions-without-reindent | 221 | (defvar electric-indent-functions-without-reindent |
| 222 | '(indent-relative indent-to-left-margin indent-relative-maybe | 222 | '(indent-relative indent-to-left-margin indent-relative-maybe |
| 223 | py-indent-line coffee-indent-line org-indent-line yaml-indent-line | 223 | py-indent-line coffee-indent-line org-indent-line yaml-indent-line |
| 224 | haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent) | 224 | haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent |
| 225 | yaml-indent-line) | ||
| 225 | "List of indent functions that can't reindent. | 226 | "List of indent functions that can't reindent. |
| 226 | If `line-indent-function' is one of those, then `electric-indent-mode' will | 227 | If `line-indent-function' is one of those, then `electric-indent-mode' will |
| 227 | not try to reindent lines. It is normally better to make the major | 228 | not try to reindent lines. It is normally better to make the major |