Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c8481b1b
Commit
c8481b1b
authored
Feb 21, 2014
by
Dmitry Gutov
Browse files
* lisp/electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.
parent
34b71457
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/electric.el
lisp/electric.el
+1
-1
No files found.
lisp/ChangeLog
View file @
c8481b1b
2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
* electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.
2014-02-21 Juanma Barranquero <lekktu@gmail.com>
* w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
...
...
lisp/electric.el
View file @
c8481b1b
...
...
@@ -220,7 +220,7 @@ 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
py-indent-line
coffee-indent-line
org-indent-line
yaml-indent-line
haskell-indentation-indent-line
haskell-indent-cycle
haskell-simple-indent
)
"List of indent functions that can't reindent.
If `line-indent-function' is one of those, then `electric-indent-mode' will
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment