Skip to content

Commit 82beb7f

Browse files
committed
Document electric characters
1 parent a1c9d62 commit 82beb7f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/haskell-mode.texi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,13 @@ position, @kbd{S-TAB} selects the previous one. If a block is selected
468468
you can use @kbd{TAB} to indent the block more and @kbd{S-TAB} to indent
469469
the block less.
470470

471+
When @code{electric-indent-mode} is enabled or the variable
472+
@code{haskell-indentation-electric-flag} is non-nil, the insertion of
473+
some characters (by default @kbd{,} @kbd{;} @kbd{)} @kbd{@}} @kbd{]})
474+
may trigger auto reindentation under appropriate conditions. See the
475+
documentation of @code{haskell-indentation-common-electric-command} for
476+
more details.
477+
471478
@item @code{haskell-indent-mode} (optional).
472479

473480
This is a semi-intelligent indentation mode doing a decent job at

0 commit comments

Comments
 (0)