diff options
| author | Dmitry Gutov | 2014-02-21 16:29:28 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2014-02-21 16:29:28 +0200 |
| commit | c8481b1b2c4157c7b30edee3d335daae028bd88d (patch) | |
| tree | 7e062c74315919d99c85b3c5a7af4703e1830f67 | |
| parent | 34b71457b2c5433ebd1520bf4c53c36f019a9123 (diff) | |
| download | emacs-c8481b1b2c4157c7b30edee3d335daae028bd88d.tar.gz emacs-c8481b1b2c4157c7b30edee3d335daae028bd88d.zip | |
* lisp/electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/electric.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ecc299063ae..71bc7e48aef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-21 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * electric.el (electric-indent-functions-without-reindent): | ||
| 4 | Add `yaml-indent-line'. | ||
| 5 | |||
| 1 | 2014-02-21 Juanma Barranquero <lekktu@gmail.com> | 6 | 2014-02-21 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete. | 8 | * 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.") | |||
| 220 | 220 | ||
| 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 | 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 | "List of indent functions that can't reindent. | 225 | "List of indent functions that can't reindent. |
| 226 | If `line-indent-function' is one of those, then `electric-indent-mode' will | 226 | If `line-indent-function' is one of those, then `electric-indent-mode' will |